Cramping. Help!!!!

Sa

I’ve been cramping for the last 7 days, pain hasn’t went away. I feel bloated and have pain in my back and abdominal pain. Feels like I’m about to have my period, but I’m not due until 9 days. I started taking ampicillin and a vaginal cream. Thought is was uti.