Sex hurting leading to intimacy lacking

Patient: I have pain in my lower back and the lower left side of my stomache. It also hurts when I have sex. I do have genital herpes but am not having an outbreak and I had my tubes tied 5 years ago. What could be wrong with me and what do I need to do?