2 months without

I had a gynecological procedure last week and the doctor told me no sex for 2 MONTHS... I didn’t ask but I’m assuming that includes masturbation. How will I survive!?