What do you do if you get an erection at the doctors?

I'm not sure but just hide it or ask to use the restroom. Or be like excuse me I'm having an erection nad I'm sorry.