Your doctor can help you decide what to do. He or she will ask questions, do a physical exam, and talk to you about possible causes.
It can be hard or embarrassing to talk to your doctor about this. Sometimes it helps to write out what you want to say before you go. For example, you could say something like, "For the past few months, I haven't enjoyed sex as much as I used to." Or you could say, "Ever since I started taking that medicine, I haven't felt like having sex."
Treatment for a sexual problem depends on the cause. It may include treating a health problem, learning how to talk openly with your partner, and learning about things you can do at home. For example, you might take a warm bath to relax, have plenty of foreplay before sex, or try different positions during sex.
It's important to feel comfortable talking with your doctor. The more you can tell your doctor, the more he or she will be able to help you.