Okay, if you didn't already know, digestive bacterial enzymes present in your lower intestine are responsible for the gas and foul odor of your output.
Now, nothing should be done inside your body as you obviously need these bacteria to digest food so it can be absorbed by your body.
However, there are a few tricks that can eliminate the bacteria once it exits the stoma and fills your bag.
One of these tricks is to keep a bottle of antibacterial liquid soap and a small bottle of water near the toilet. When you dump, you squirt some soap into the bottom of the pouch followed by some water, to mix and then clean the bag. Repeat if necessary, sometimes even lying down to get the mix up around the top of the bag. This is by far the cleanest method. If possible carry a small bottle of the liquid soap with you on the road etc.
Another method is to use predissolved antacid tablets in a water bottle and use that as a flushing agent. Stoma output has a pH level of about 8, antacids about 8.5-10.5, just raising it enough to make the bacteria no longer function. This method works better while on the road and is less conspicuous. However, the drawback is that antacids leave deposits on the bag walls. So try to use the antibacterial liquid soap method, but this will work as well.
Now, this is all fine for flushing, but what about the first dumping? That's going to stink like heck, right?
Well, the trick is to leave a little bit of new dish soap residue after flushing or a little bit of the antacid water in your bag to mix with future output.
When you go to dump the next time, you're not killing yourself with the odor.
I do not recommend using anything with a higher or lower pH level in your bag as it will come into contact with the fragile stoma.
Using scent cover-ups usually doesn't work as it just mixes with the already foul smell. Eliminating the bacterial enzymes works.
And when you flush, be careful and don't try to squeeze up further, dump and get a fresh water in the bag and go lay down and get it up around stoma area to wash. If you squeeze you may pop the wafer or bag off.
I find just a couple of drops of the liquid soap works good enough, followed by two rinsings of plain water. About 1/3 of a regular water bottle for each flush, leaving a little water left for the bag to seal in with some more liquid soap to kill future odors.
No solution for the gas or farts, but watching one's diet usually works.
Good luck. ☘️