IBS help

Does anybody have any tips on treating IBS? Tablets only help when you already have symptoms. I'd like to prevent any attacks!

Drugs, diets, drinks etc?