Sometimes healthcare providers will remove hair around the surgical site before surgery. They will use electric clippers to do this. Razors can cause nicks and cuts in the skin that could increase the risk of an infection.