“Warning pics” weird discharge and blood

I have 7 days left for my period. I have cramps today and I saw i hd this brown discharge but also accompanied with blood