You can do your best to prevent such injuries by visually inspecting the court before you play. If possible, beach players should rake the court. Grass players may want to keep their shoes on for better protection. Beach players are well aware of the intense heat on the sand in the afternoons, especially in mid-summer. This can lead to blisters, and if you get one, don't try to tough it out.
Blisters can heal quite slowly and make each step truly painful.
Invest in sand socks or use a pair of gym socks. If possible, wet the court's surface periodically until the sand cools. Many people don't play in the hottest part of the day to avoid the burning sand. Popping blisters is okay if done with a sterile needle. A snug dressing must be placed on the blister afterward.