I am very sorry to say that there is no medical treatment for inguinal hernia
If it is small,you can go for swimming and walking.
But,the abdominal pressure should not be increased.
Hernia may lead to complications like Intestinal obstruction
So,please get it operated as early as possible.
Wish you good health