Avoid using a razor to shave the area where you will be having surgery, and don’t be afraid to stop someone from using a razor to shave your surgical site. This can cause skin irritation and make it easier to get an infection. Follow your physician’s guidelines about getting ready for surgery.