Thanks for choosing HealthcareMagic forum.
It is all due to some psychological problem you are facing. The loss of libido or erection may due to anxiety
, excessive work load, depression
, etc. You need to sit calmly and sort out your emotional problems first or consult a psychotherapist.
Dr. Rakhi Tayal