Channel your energy. When you are in pain, use that energy to write. Feel the flow from your frustration, your anger, your pain. Feel it move from your thoughts, to your fingers, and watch it appear as letters, as words, as poetry, as art.
I write best when I am in pain. My mind is screaming but the words are pouring out. The blank page is my canvas. I fill it with my pain. I add colour. I add red. Or, if I am sad, I add blue.