Stoics borrow a few techniques from the Cynics, to practice the pain coping mechanism, such as frequent exposition to heat and cold
You could call this a form of stress inoculation: you learn to build up resistance to a bigger problem by voluntarily exposing yourself repeatedly to something similar, albeit in smaller doses or a milder form — Donald Robertson, How to think like a Roman emperor