Gas can have different causes. Some people get good results with Gas-X, Beano, or Digestive Enzymes. Others reduce or eliminate gassy foods (e.g. beans, broccoli, ...). Sometimes gassiness is a sign of SIBO, and sometimes gas is just more disturbing because of pouchitis. These last two causes generally need a doctor's assistance to diagnose and treat, at least when they are unfamiliar to you.
Gas is a bigger deal for J-pouchers since most of can't fart while clothed without unfortunate consequences.