The easiest way is to simply try replacing the insoles, or purchase a spray from a shoe store. There are also folk, so to speak grandmothers, methods, for example, baking soda kills any smell, and hydrogen peroxide completely disinfects shoes, but it should only be used on light-colored products. Try putting activated charcoal in your shoes, or stuffing your shoes in the freezer overnight, they say this helps a lot against the smell.
You can effectively remove odor from shoes with an ultraviolet shoe dryer. It will not only dry your shoes well, but also disinfect the inner surfaces and provide high-quality ventilation of the shoes.