No. But it is common for people to experience sexual dysfunction after hernia surgery, especially if inguinal hernia is cured. This is a temporary condition that cures on its own. However if the problem continues, get in touch with a specialist.