Getting rid of squirrels without harming them is a tedious process, but it is possible. Use a combination of natural pest control practices such as sprinkling your yard with cayenne pepper, covering the area with mulch, gravel, or decorative rocks, and installing netting or fencing.