What is this?

No smell at all. 9DPO. Did have unprotected sex in my fertile window. Was a little spotting couple of hours ago (pinkish discharge) it stopped. It’s currently 4 days before my period (June 29-30th). Took a test before the spotting today negative.

1.) When should I take a test?

2.) Is this pregnancy discharge?