Hormone therapy is used to treat endometriosis-associated pain. Hormones come in the form of a pill, a shot or injection, or a nasal spray. Hormone treatments stop the ovaries from producing hormones, including estrogen, and usually prevent ovulation.