Suggest treatment for erectile dysfunction

hello Dr, i want to ask your help to improve my erections if possible. 7 years ago i had a problem probably prostatities, and because i was to shy i didnt went doctor imediatly. that time i had a very acutte pain in my testicles and somewhere inside near prostate, in that days for the first time in my life, when i had an orgasm my sperm didnt came out, the pain in testicles continue and was unable to sit without disconfort. Until that days my ejaculation was strong and after that it becames very weak,just drips of the penis. something strange beguns to happen when i go bed to sleep that times, when i lay down with belly up i always have an erection 30 min after i lay on bed to sleep and it continues all night, just if i changed position with my legs spread the erection stops, if i sleep with legs closed belly up, erection cames after some minutes and many days i waked up with my penis hurting because of long erections at night. i started to became frighten, went doctor did some exams and didnt not find anything wrong in prostate just varicocele veins in testicles.No other exams were asked me to do, i continue my life. in the next years i always sleep with belly down, and with pillow between legs because i feel disconfort other way. when im sitting for 3 ours my penis became numb, and i need to stand to stop the numbness. My erections changed this last years and now im not able to have an erection with belly up, or with legs closed, or standind up. the only positions i can have is with spread legs. its difficul for me to mantain erection when having sex, and impossible if i stand up. i just can keep erection for limited time because my penis keeps coming down. my current girlfriend is very comphreensive about that but if theres something i can do i would like to know. I think i have some pelvic problem, or some nerves that when underpressure stops to fuction correctly, when im sitting to long (2/3 hours)i have pelvic pain. I never tried viagra or cialis, but if that can help me to have better erection im willing to try. i have told this simptoms last year to doctor, but no solution for my case was told,is there something i can do? thank you very much for your time

Brief Answer:
You have erectle dysfunction needs to be evaluated
Detailed Answer:
Hello
Thanks for your query,based on the facts that you have posted it appears that you have problem of Erectile Dysfunction which needs to be evaluated in detail.
You had Acute Prostatitis 7 years back which was probably treated improperly .
As regards your doubts about not getting erection in particular sleeping position I would state that Erection does not happen all the time, it happens only on arousal either by audio,visual sexual stimuli.or when you are in close intimacy with female partner,that stimulate your sympathetic and sensory system which initiates process of erection .What you are suspecting it to be is mind related and due to anxiety.
Please consult qualified Urologist or Sexologist for detail clinical assessment and get following tests done to find out the cause of your ED.
1) Blood tests for Serum Testosterone ,LH. Prolactin levels levels
2) Blood sugar tests to rule out diabetes.
3) Thyroid function tests.
4)Semen examination and culture (To rule out infection of Prostate or seminal vesicle).
5) Ultrasound scanning and Trans Rectal ultrasound scanning to rule out any residual infection of the previous infection of prostate.
6) Colour Doppler ultrasound scanning of the penis to rule out any arterial insufficiency
( Reduced blood flow to penis) or venous leak,
These tests will help to find out the root cause of your ED.However Following general measures will help you to boost up your confidence and getting good erection.and delay ejaculation.
1) Practice regular exercise for 45 minutes followed by meditation for 1/2 an hour in the morning.
2) Take high protein diet rich in vegetables and fruits and Vitamin A,C,D,E.and Zinc
3)Take anti oxidants like Almonds 5-6 everyday..
4) Avoid alcohol and smoking..
Taking a drug like Viagra on demand or Cialis will help to get good hard erection .You can certainly have a trial with consultation and prescription from your family Physician.
Hope I have answered your query ,please feel free to ask if you have more questions ,I shall be happy to help you
Thanks and Regards.
Dr.Patil.