First I would talk to your Doctor. And don't feel ashamed... they hear this kind of thing on a regular basis.. so, your Doctor will know how to treat you or at the very least give you direction on how to fix this.
You may be bored with sex (physically). Part of sex is excitement. Think of it this way.. if you go to a Carnival and ride the roller coaster, it's fun. If you get back in line, it's still fun. It's still fun even if you ride the roller coaster repeatedly all day while you're there.....
Now, think of this.... You get a season pass to the Carnival. You ride the roller coaster each time you go... repeatedly. How quickly will you get tired of it. How soon will you lose the thrill? So.. now the carnie tells you that the ride is out of service for a while for repairs.... psychologically, you're bummed out because you can't ride the roller coaster for an undetermined amount of time....even though subconsciously you were sick of riding it anyway....
See where I'm going with this? You need to ride other rides at the Carnival including the roller coaster...not just the roller coaster... so you don't wear it out. When you get back up and running... be sure to add variety to your sex life and be sure to stop off and get a lemonade so you can recharge between rides!
LOL Sorry for the bad analogies.. it was something that popped into my head and I went with it!
Good luck!