The best way to keep bugs out of play sand is to use a bug screen. Bug screens are made of plastic, metal, or some other material that is designed to trap bugs and prevent them from entering the sand.