If you’re finding it a problem getting an erection, or feel that you have a form of erectile dysfunction, the first thing you should do is tell your partner and seek help. Many men feel ashamed and hide it from their partner only for their relationship to suffer, or even worse break up.
You should visit your doctor if symptoms persist; they will take a full history of the problem and give you a full health check to make sure you do not have any undiagnosed medical conditions like diabetes or cardiovascular disorders. The doctor will then advise a treatment for your condition, whether it be a prescription drug or a lifestyle change.
The doctor will sometimes recommend that you try to cut down on alcohol and smoking, if you do it to excess, get more sleep and cut down on stress; they may also advise you to stop taking any medications that interfere with the erection process.