Cystitis and UTI's

Emily
Has anyone here had experience with cystitis or a UTI? I had really rough sex right before my period and then the next day it started and pee kind of hurt. For the rest of my period I just felt pressure at the end of urination and just yesterday I woke up around 3am having to rush to the bathroom every 2 minutes until my 7:30am yoga class. My urine started with the last few drops being a bit bloody and then got increasingly more bloody. Around 4:30 am I started passing soft blood clots. 
The yoga class was incredible. I completely forget I slept 3 hours and was in incredible pain and constantly feeling the urge to pee and within a couple hours the blood completely stopped and now I just feel pressure at the end of urination again. I know it's from the rough sex. Transferred some bad bacteria. Anyone have experienced like this?