thank you for your query.
You seem to have a
reducible hernia (ones that either go in on their own or that go in when you apply pressure).
The best Way to diagnose a hernia is to visualise it.
I would recommend that you see your physician when you have the swelling or try to
cough and show them the swelling.
a hernia usually does not pose a threat unless it's very huge or gets strangulated by the defect in the abdominal wall through which it pops out, in which case,
severe pain occurs due to the damage of the strangulated tissue and you have to go the ER.
However, I recommend seeing your doctor, who can examine and decide the course of action.
please avoid lifting heavy objects and support that area with you hand when you cough or sneeze.
hope I have helped and that you feel better soon.
Please feel free to get back to us if you need further clarification.
Wish you good health.