Bloating could happen due to a couple of reasons. But the safest way to treat it is the same for almost all cases.
Good warm water, epsom salt in tank, don't feed for 2-3 days , after that start with epsom salt soaked foods. Feed less, almost half of what you'd generally feed.