Many people tap their soda cans to prevent them from fizzing over, but does this technique actually work?

Does tapping on a soda can really stop it from exploding?
Kenna Hughes-Castleberry

Many people tap their soda cans to prevent them from fizzing over, but does this technique actually work?