brown discharge😕

I had brown discharge. When I wipe I see spots of red. I also have back pain is this a sign of period or pregnancy?! According to the app I'm due in 9 days 😕