This is how you do it: you empty yourself of desire. Any desire leads to longing, longing leads to regret.
You become the pain. You know when it comes. You know that breathing deep can ease it, but you don't. You clamp down on it, let it wash through you. You become it. You don't avoid it. This is you now, this vessel for pain. Anything else is a delusion.