 Hydration is key, as well as eating foods with high water content like strawberries, watermelons and grapes and other fruits. There's also plenty of safety measures you can take. You can do this by staying indoors. Don't go out between the hours of 10 and 4, the hottest part of the day. If you don't have air conditioning, you can go to the library, walk around a shopping mall.