Sign of af or pregnancy

7 days befor af shows up but got white thick discharge Monday night I had cramping and sharp pains anyone else has this