Bloating only occurs when you're not getting enough water, to compensate for the water that is being absorbed into your muscles with the creatine.
So if you're experiencing bloating on Creatine, all you have to do is drink more water.
When on Creatine you should be trying to drink at least a gallon of water a day.
Also, you won't lose any of your gains, but you could lose some volume from water leaving the muscle fibers. This is typically very small and hardly noticeable, and what really matters is that you don't lose the strength, which you won't.