Spotting & Vaginal Infections

Hey guys! I need help I am PANICKING! So I recently got an infection (never went to the doctor yet) but I did purchase monistat, so my vagina was itching really badly and had a foul smell to it! So of course when it itched scratch it, but my question is today I had blood on my finger and spotted in my panties, and i want to know why?! I recently had sex with my boyfriend like two weeks UNPROTECTED sex at that. My period suppose to come on the 23. But is this from the infection or is it from pregnancy? HELP!!!! What to do what to do what to do!