Sex is not enjoyable if you are in pain but sex that is painful is a common symptom of endometriosis. Medications are not a cure for endometriosis, but they may help manage some of your symptoms such as painful sex.
Choosing the right medication for you can be a long journey. It is a very personal decision that should take into account your symptoms, whether or not you want to get pregnant and the impact of any side effects on your quality of life.
Chronic pain is complex, so you may also want to consider surgery, physiotherapy or mental health supports in addition to, or instead of medication.
Speak to your health care provider before taking any medication. Your health care provider will prescribe the medication that best fits your needs.