Stoic Meditations
Seneca talks about the premeditatio malorum, an exercise that allows us to be mentally prepared for possible negative outcomes of our action. The key to it is to engage your reasoning faculty, not your emotional reactions.
En liten tjänst av I'm With Friends. Finns även på engelska.