We need to take yr complete medical history n yr emotional equation with ur spouse, are u under any stress off late? Do I smoke or drink? Is this the same case when yr mastrubating? You will have to observe if it's general or situational Erectile Dysfunction. Kindly seek an online consultation with a certified competent experienced clinical sexologist as there are many good treatment options available today for your sexual health concerns. Please relax and all the best.
Next Steps
Please consult a good certified sexologist online first then if needed u can visit the doctor.
Health Tips
Breathing exercises help a lot with stress so does yoga and surya namskar. Medications we will take care of that part.