Pain and cramps

Candi
Needing advice. I usually have a regular cycle every month. Boyfriend and I of 5 years are not trying to conceive but are not preventing either. (I am Not on birth control). We have been intimate a lot for the past few weeks, I am experiencing pain during sex and a foul smelling discharge. What is happening?! Please help