The list below covers most of the common types of hernia and might give you some indication of what type you may have.
Hernias are common in England from 2001-2002, around 70,000 operations were performed for inguinal hernias. Generally you cannot prevent the weakness in the abdominal wall that leads to you getting a hernia but not smoking, avoiding constipation and maintaining a healthy weight should reduce the risk.
If you already have a hernia or have had a hernia repaired in the past you can prevent them from getting worse or coming back if you follow these simple points.