<s>[INST] I had an appendix surgery 3 years ago and now I feel pressure like gas where the surgery was and when I get an erection or having sex its doesn t feel good, actually it kinda hurt ! when stretch I feel like something is pulling or when I lay down it feels like something is pulling. [/INST] Hi. I had gone through your query. Appendix surgery does not lead to any problem in erection of penis. But due to psychological stress of operation might be affect your sexual functions. Repeat ultrasound is advisable to diagnose any trauma or pressure in abdomen that occurred due to surgery. Penile Doppler to know blood flow and chance of erection with medications etc. Erectile problem has many origins1st is life style stress and busy lifestyle make u fatigue and second Chat Doctor.  </s>