Try peppermint oil
A type of medication known as an antispasmodic uses peppermint oil. Particularly if you have irritable bowel syndrome (IBS), it relieves stomach cramping, bloating, and farting (flatulence). It functions by helping in the relaxation of the gut wall's muscles.
As a digestive aid, peppermint has a long history. It has been shown that taking it in supplement form helps those with IBS who experience bloating and distension symptoms. In 4-week research with 72 IBS patients, taking 180 mg of peppermint oil capsules three times a day led to a significant reduction in these symptoms. The capsules were made for sustained release in the intestine. Peppermint oil for bloating has, however, received relatively little research. Positive outcomes might be dependent on specific preparations, and more research is required.