About erection problem

Patient: I got an erection twice a few days ago but when I tried for the third time I got an erection under the bedsheets but when I got erect I heard and felt a crack or pop and it felt like I had to go to the bathroom. I rushed to the bathroom and sure enough I had to urinate. I felt no pain and I am ok now but I still cannot maintain a full erection. I am 44 years old and I weigh 228 pounds.

Doctor: