There is no remedy for inguinal hernia
other than surgery. This surgery is no a big deal at all but result of waiting without surgery may be life treating. If its about hernia, there is always a chance that it can get stuck. This is very urgent condition and leads to intestines necrosis
. Moreover, constipations are a risk factor of hernia stuck. Try to imagine that every time you are pushing your abdomen when trying to pass a stool, you are pushing intestines outside the abdominal cavity.
So in your case is to have surgery performed and get rid of constipations (this is as much important as surgery itself). You should also have a colonoscopy
if this constipations last for a long time and do not go away.
Hope this will help