<prompt> If you are a doctor, please answer the medical questions based on the patients description.I have had abdominal pain with a pain right behind my penis for about 2 months. I have problems getting and or keeping an erection also. Sometimes the hen I am having sex, I get the pain and have to stop. In the last 2 weeks I have noticed some blood in my stool sample with the feeling of frequent urination. What do I need to do, and what do you think is the problem...Thank you!  <response>: Thanks for asking in Chat Doctor forum In short: You may be suffering from Urinary tract infectionExplanation: BY your history it is clear that you are having urinary problem which is causing you pain and also causing erectile dysfunctiondue to pain. So, visit a doctor and get yourself examined with investigation for Urinary tract infection. Your blood in stools may be because of ammonoidsfissure so tell your doctor about this also, and you may go for stool test also. Good luck 