Hello,
Thank you for your medical query at DoctorSpring.com
I understand your concern.
In most cases, hematospermia arises because of some inflammation or infection in any of the ducts involved in expulsion of semen, starting from the prostate to urethra. It resolves spontaneously in a few days. You had it twice in 6 months, so I suggest you get a Urine routine, CT KUB, and Ultrasound scrotum done. These tests are required for the diagnosis. It can be due to an infection, so it is better to have intercourse with condoms.
Please get the tests done and revert back.
Regards.