Hi
This is probably going to sound like a weird question but it’s one I don’t really want to ask
My doctor unless I have to 
A bit of background I had a miscarriage in March. So when I found out I was pregnant at the beginning of July I wanted to hold off on sex until we knew everything was ok. Fast forward to 5 weeks pregnant and I sadly discovered that my pregnancy was ectopic. I was treated with methotrexate and so obviously we weren’t allowed (and I didn’t want) sex until my HCG was 0. 5 weeks later my tube ruptured and I had to have surgery which ended up being a laparotomy (open, across bikini line similar cut to a c section) instead of the keyhole surgery.
I’m now 10 days post op and physically I don’t feel up to having sex yet and I’m aware it’s a 6 week wait before I’m allowed to anyway. No pressure from DH at all he’s been amazing tbh about it all. But it now means we haven’t had sex since the end of June so I’m feeling like I need to ‘release’. I can’t seem to find anything online to say whether masturbation for me would be ok? I was worried an orgasm might be painful while my wound is still healing. I can ofc ask my doctor but I’m a bit embarrassed too so thought I’d see if anyone had any personal experience of this they could share with me first 
Tia x