Help uti or period

So yesterday I felt like burning sensation when urinating. And right away I drank cranberry juice and I took AZO MAXIMUM STRENGTH and lots of water. It's my first time taking AZO and my pee its bright yellow like orange. And today I'm spotting when I wipe so I don't know if it's my period or what but other than yellow the paper shows like reddish.. I'm supposed to get my period in 8 days so I don't know I'm no longer in pain when urinating.....also I been very sentimental