Painful urination

Hi so I am currently on my period and am having painful urination. It hurts mostly at the end of the stream and I can't tell if I'm peeing blood or not for sure because I'm on my period. Is it a UTI OR BV?