What’s going on?

Hey ladies I had a few questions... I am sexually active and the last time I had sex was July 13th, I was on my period and my period ended July 16th. Then I had an extremely light/spotting “period” the 28th through the 1st. Now I’m having brown/red discharge on and off. I took a pregnancy test a few days ago and it was negative. What could be going on?

Edit: So I unlogged the 28th through the 1st thing as a period, and Glow says that it’s my ovulating time. But this didn’t seem very normal. Anyway, now it says that I am 4 days late to my period. (I usually start a few days after Glow says I will)