strange pains

So I'm on the pill, and I take it perfectly every day. My boyfriend and I are sexually active and my period is due in 4 days. I have had light cramps the past week and I'm getting acne, but last night I had horrible pain in my uterus. Does anyone know what could be going on?