Discharge questions.

So I was 7 days out from my period and realized I had white, definitely not yeast infection discharge in my panties with stabbing pains in my uterus. Then when my husband and I had sex it was all over him. I was not supposed to be ovulating, I don’t have any yeast infections, or STI/D’s. But the internet has me believing this could be a really early sign of pregnancy. Has anyone else had this happen? Were you pregnant or just strange out of cycle discharge? I had these symptoms on Tuesday the 9th.