Step 1: Primitive Cure
Press your tongue against the roof of your mouth and hold it there. This will cure your brain freeze in a minute or two. This works because your blood vessels are contracted from the cold thing you ate. When you press your warm tongue against the roof of your mouth, it opens them up, making the brain freeze cease.