Welcome to HealthcareMagic. An erection problem is the inability to get or maintain an erection that is firm enough for a man to have intercourse. If the condition persists, the medical term is erectile dysfunction
. Causes may be psychological, smoking, alcohol, illicit drugs and medical conditions like diabetes, high blood pressure
, heart or thyroid conditions, poor circulation, low testosterone
, depression, spinal cord
and neurological causes. In your case it looks more psychological. Sildenafil is the drug of choice for erectile dysfunction. However it is available only on a doctor's prescription who will also assess the type and cause of erectile dysfunction before prescribing any drug
To exactly pinpoint a diagnosis you need to get a complete examination done from a urologist
. Hope it helps you. Regards.