If you experience brain freeze, there are several things you can do to alleviate the discomfort:
Press your tongue against the roof of your mouth: This can help warm up the area and alleviate the pain.
Drink a warm beverage: Sipping on a warm drink can help raise the temperature in your mouth and alleviate brain freeze.
Cover your mouth and nose: Breathing into your hands or covering your mouth and nose with a scarf can help warm up the air you breathe in, which may help alleviate brain freeze.
Take a break from the cold stimulus: If you're eating or drinking something cold, take a break and allow your mouth to warm up before continuing.