How long it take to resume sex life after hemorrhoidectomy?

Hello all,

I am 25 yrs old man. I am two weeks after hemorrhoidectomy. I think that my recovery is going very well. My pain stopped after 6 days after surgery and wound seems to heal fine(slow but heal).. I read somewhere that it can heal for 6 weeks. Anyway, i have concern when I should able resume my sex life. I feel that my pelvic muscles are weak and its also confirmed by my erection. Men: Does anybody experience similar problems please?