Surgery and period

So I will be on my period when I have surgery what do I do ?????