Lots of good advice here above.
One thing from me, that I learned from my girlfriend during the extreme pain of a prostate infection: The mind is the enemy sometimes. The mind will run into dark places with you if you let it. When your mind starts running into bad places, fuss at it, out loud. "STOP THAT!! I don't want to hear that!! I'm GOING to get better!! Shut UP!!" Then move around, even go for a walk around your block. Anything to get your body moving, change your surroundings. Sounds stupid, but it helps.
Hope you feel better... you have a lot of good energy coming to you from this place!!
tc...