Subchorionic hematoma &

I have s.h. Doc said no restrictions. Continue as normal. But with my last one they said no sex, bed rest, etc. Is any of that safe? What about masturbation?