If you don't want to take medicine, you can control your diet and eat less or not at the next meal, which can relieve flatulence.
Really uncomfortable, you can massage the upper abdomen and navel clockwise to promote the peristalsis of the stomach.
You can also go out for a walk, and massage your abdomen while walking is better.
If the effect of diet and behavior control is not good, we can consider using drugs to promote gastric motility. Domperidone or mosapride citrate plus multi-enzyme tablets or pancreatin enteric-coated capsules are commonly used in clinic. The latter two drugs are digestive enzymes and are beneficial to the digestion and absorption of food.