Thanks for the query.
Erectile dysfunction at your age could be due to diabetes, muscle weakness, hormonal changes.
You can consult a Urologist and take treatment for the same.
You can maintain the erection by doing foreplay and try to keep it long as much as you can.
Hope you found it useful.
Feel free to discuss further,
These Q&A’s are for educational purposes and should not be relied upon as a substitute for medical advice you may receive from your physician. If you have a medical emergency, please call 911. These answers do not constitute or initiate a patient/doctor relationship.