Screaming and throwing up

I started spotting two weeks before my period. I have the iud though and had protected sex only 3 days ago. Could I be pregnant? Or am I just spotting because of ovulation? And I also have a UTI and I’m on medicine