My period is confusing me

I was 4 days late on my period and a pregnancy test came out negative then positive then negative I ended up getting a period for two days with blood results showing that I wasn't pregnant I had sex a week after that and haven't got my period in a wholllle month since my last bleeding I'm confused