Unfortunately, hernia repair
is typically associated with discomfort for "days-to-weeks", depending on the method of repair and size of the hernia.
Follow your surgeons advice for pain control. If your pain is not well-controlled, your surgeon will want to hear from you. Rest assured, though: the pain tends to lessen with each passing day.