Blood in my semen

Patient: I have blood in my semen, recently I had a bilateral inguinal hernia surgery, could that be the reason

Symptoms: None I have no fever or pain

Doctor: