To prevent ankle sprains, make sure you're wearing proper shoes with good support, and avoid sudden changes in direction or pivoting on the court. You can also consider wearing ankle braces or tape for extra support.