Hi I need help asap

So I'm due for my period in 4 days. I'm having a bit of trouble. The past 3-4 days I've been cramping in my left ovary. I've been having an irony type smelling brownish discharge. There is also some swelling ag the opening of my vagina. I tried monistat thinking it could be a yeast infection or bacterial infection but it didn't do anything. Could if be something else?? Am I just getting ready for my period??