Step 1: Get angry at the can and shake. Shake the can as much as you can.
Step 2: Once you've shaken the can start flicking the can with you fingers to get the bubbles inside to rise to the surface. Flick all around the can up and down so all the bubbles rise. Step 3: Now be brave and open the can.
How does this happen? Well you see when you shook the can bubbles of co2 (carbon dioxide) inside the can went to the side of the soda cans walls. So when you tap the side the bubbles rise to the top. Once there at the top there will only be a small amount of soda blocking their escape which means the soda won't spray
Hints and tips
If this did explode it's probably because you didn't flick all the bubbes off.
WARNING DO NOT USE ANY TYPE OF DIET SODA IT WILL EXPLODE!