The EPA regulates bear spray and has only approved it for use on bears. While some people have used bear spray on mountain lions and even aggressive dogs, manufacturers do not recommend its use on other animals. The results could be unpredictable and very dangerous. There are other products made from capsaicinoids that are designed to keep skunks, raccoons, squirrels and cats out of gardens or flowerbeds. The compound irritates and repels the animals when they taste, touch or smell it.