Thanks for writing in.
You have only one option and it is operation of hernia
There is no other alternative.
Do not go for gym as it may worsen the condition.
As a part of intestine or fatty tissues coming out from hernial orifice it gives severe pain
and many a time if this stuff does not get inside it will be strangulated and there will be an emergency.
Consult surgeon and get examined.
Ok and bye.