Dogs and skunks especially dislike the smell of citrus fruits. Make a solution of lemon, orange, grapefruit or lime juice and water to spray on the outside of trash cans and inside the lids. As you add bags to the can, spritz the tops. Reapply the citrus spray around the outside of the cans after a rainfall if the can is outdoors and exposed to rain.