<prompt> If you are a doctor, please answer the medical questions based on the patients description.I just got married and I am not able to get proper erection, It was all good before and suddenly it started to give issues. I can get erection sometimes in the morning when I get up. On the bed I am not able to maintain the erection dont understand what is going on?  <response>: Degree understand your concerns went through your details. The given symptoms are not enough to have a proper diagnosis. Erectile dysfunction could be due to many reasons, but more prominent is psychological reasons like performance anxiety or stress. You should consult a physician to make sure you do not have physical problem like diabetes or erectile dysfunction due to hormonal imbalances. Then approach a psychologist for counseling. If you still need my assistance in this regard, please use this link. Please remember to describe the whole problem with full detail. Hope this answers your query. Available for further clarifications. Good luck. 