The best person is your doctor as they know how much surgury you had.
Other than that the rule of thumb is no penetration for 6-8 weeks minimum.
Masturbation (excluding anything pentrative) should be ok so long as you stop if you don't feel comfortable.
Maybe try it out on your own first (before trying it with your partner) just to see how you feel.
Sometimes you may experience a little spotting afterwards. If this is anything more than light spotting please do speak to your doctor, it might be something simple like needing a piece of tissue cauterised, but it might be something more as well.