An anaesthetic is injected at the site of the surgery to cause numbness in the area. You will be awake but will not feel pain from the surgery.
https://healthpoint.co.nz/private/anaesthesia/southern-cross-gillies-hospital-anaesthesia/