There are no known safe and effective forms of squirrel repellant available. Most traditional methods like mothballs, flashing lights, and ultrasonic sound have no effect. The best way to keep squirrels out is have a pest control professional squirrel-proof your building.