Erectile dysfunction can happen in many ways. If you can get an erection but can’t hold it, the blood flow into the penis is not being able to stay trapped. A compression at the openings of the veins in the penis helps to maintain the erection; however, weakness prevents this from happening. We need to know more about the kind of treatment you received. Medical practitioners should be able to get to the root cause of this problem.