Could I be pregnant?!

Last AF was may 27-June 2nd. I was expected to have another AF July 4th and she never showed. On June 17th I had spotted after intercourse but only right after. Last night I used the restroom and red blood was on the tissue when wiping so I thought AF started as it was also there once out of the shower. I woke up this morning to no blood, but a little white discharge. I took a test and it said not pregnant. What could be going on ? Any advice or happen to anyone else?