Spotting before period?

I went to the bathroom this morning and there was brown blood. My period isn’t for another week and I’m a virgin so I can’t be pregnant. Does anyone know why this is happening?