Engaging in light exercises like walking can be beneficial for overall health and may help alleviate mild hernia pain. However, it is important to avoid activities that exacerbate the pain or put excessive strain on the abdominal muscles. It is advisable to consult with a healthcare professional to develop an exercise plan tailored to your individual needs and hernia condition.