Hi
I understand your concern.
Anxiety can affect sexual function. Stress can cause erectile problems . so treatment of psychological stress and anxiety is must.
1st thing you have to do is go for penile Doppler to know blood flow and chance of erection with medications etc.
erectile problem has many origins like stress/lifestyle issues/relationship problems/organic or physical problems etc.
1st is life style
stress and busy life style make u fatigue and secondary to this it makes less desire in sex and erectile problems.
Avoid smoking/alcohol.
Take healthy diet.
2nd is relationship
free communicative and mutual understanding will help
sex is mutual act
so try to do mutually and tell your problem to partner
this will reduce your anxiety and able to erect easily
So stress free lifestyle and mutual communication will help
3rd is physical health
Routine check up and fit physical health is necessary to rule out
diabetes and
hypertension.
psychological soundness is must and sun set focus method for erection is very useful .
It can be treated with medicines like
sildenafil,, tadanafil,
tetrafol plus etc,do take advise from doctors
Get well soon
Thank you
take care