Gagging is a normal reflex, they are learning. It’s normal, don’t panic, they will usually spit out the food after gagging unless you observed that it’s stuck in it and can’t come out. Definitely don’t use your fingers to dig out his food when he gags. You can try offering steamed carrots/brocolli~