A bit confused

So about 2 weeks ago I had my period, before that my husband and I had sex a few times during ovulation.

So naturally I was upset because aunt flow came!

But now, 2 weeks after my period, I'm cramping and had some brown discharge, and 2 days ago, I was nauseous and throwing up for about 5 hours of my morning.

What's going on with me?