Piles, also known as haemorrhoids, may not cause any symptoms, and a lot of people don’t even realise they have them, according to the NHS.
If symptoms do appear, patients may bleed after passing a stool, have an itchy anus, or have a mucus discharge after passing a stool.
You can prevent piles by reducing the strain on blood vessels in and around the anus.
Adding these foods to your diet could also prevent the condition.
Brown rice and other whole grains could help to prevent haemorrhoids.
“Because whole grains contain all nutritious parts of the grain, they provide more fibre, protein and micronutrients than refined grains, such as white flour,” said health website LiveStrong.com.
“Most people do not meet their daily fibre needs, which ranges from 21 and 38 grams of fibre per day.”
Other whole grain-rich foods include popcorn, wholegrain bread and wild rice.
Brightly-coloured produce are generally rich in flavonoids, that can help to control haemorrhoids, according to medical website WebMD.
“The fresher, the better,” it said.
“Try to keep them whole and not damage the skins or leaves until you’re ready to eat them. Avoid cooking to the point that their colour fades.”
Blueberries and other fruit and vegetables help to strengthen the immune system and ease constipation.
The fruit is also rich in fibre, which adds bulk to your stool. That should help to prevent straining during bowel movements.
Figs are also packed full of fibre, and could help to ease constipation.
Most of the fibre is locked into the fig’s skin, so make sure to eat the whole thing.
Both dried and fresh figs could provide relief and prevent haemorrhoids.
Yogurt contains plenty of probiotics – ‘friendly’ bacteria.
Adding extra probiotics to your diet could prevent or treat haemorrhoids, it’s been revealed.
For the biggest protective effect, try eating yogurt with live active cultures on a regular basis, added LiveStong.com.