1. If your local government has set up cooling centers, GO THERE. If not, find the nearest public buildings with AC and stay there as long as possible. Go see a movie. Visit a medieval church. Sit in Pret all afternoon.
2. Hydrate. Hydrate more. Even more than that. Avoid caffeine or alcohol.