Someone help me out

Okay so may 14 - 18 I was spotting light pink blood and brown blood and then it stopped. The 19 -22 I stayed with my bf and we had sex without protection the whole time but he never came in me... I was supposed to start my period may 23 I didn’t and now I am 12 days late and I took a pregnancy test (came out negative) also been having headaches and heartburn