We used to have raccoons and possums all the time, and I would say that they were more frightened of me than anything.
We switched to metal garbage cans, and tied the lid down with a bungee cord and that stopped them getting into the garbage.
Once they built a subdivision in the woods behind my house all the raccoons and possums disappeared.