hematoma

7+3 and i’ve got a hematoma and asked doctor today if intercourse it’s okay and he said yes i can have sex if i want to.

I masturbated on the outside and got an orgasm because i didn’t want to have sex even though the doctor said it okay but now read stories that also masturbation is entirely forbidden with hematomas and bed rest it’s a must.

I don’t know what to to i’m panicking,hope didnt cauzed any trouble .

Anyone doctors also didn’t put pelvic rest with hematomas ?