A patient may feel pain and discomfort before and after the inguinal hernia surgery. However, the patient may not feel any pain during the surgery as the procedure is performed under anaesthesia.