It should, if it's being caused by the UTI. How long have you been on the antibiotics? If it's been more than a few days, and the blood in your semen is new, or it's getting worse, or the doctor doesn't know about it, let your doctor know today.
Let us know how you are doing.