Here are a few things that you might try to get rid of the raccoons
Place cinnamon, ground dried hot pepper, or ground black pepper around your potted plants. These types of spices irritate a raccoons sense of smell, and they should move on. The spices are safe for potted and garden plants.
A Raccoon repellent spray can be made by boiling several hot peppers, an onion, and one tablespoon of cayenne pepper in 2 quarts of water for about 20 minutes. Strain the liquid and use a household spray bottle to spray it around trash cans, potted plants and other flower beds as well as trees and the outside of buildings. This is very unpleasant for raccoons. They will learn to stay way. Keep in mind that the effects of this spray are temporary. Reapply every two to three days or after rain.
If neither of the above suggestions seem to work, you might try a commercial motion activated noise repellant. These can be purchased at home and garden stores.
Finally, some type of fencing around the potted plants might also be a solution if none of the other methods seem to work.