That's a great question! A rolling trash can on a windy day is a real nuisance. I've dealt with this myself, and there are a few simple, effective tricks you can use.
First, consider the placement. If possible, move your trash can to a more sheltered spot. Tucking it in a corner of your house, behind a fence, or next to a sturdy shed can block a lot of the wind.
If a sheltered spot isn't an option, adding weight is your best friend. You can place a couple of bricks or a heavy flat stone in the bottom of the empty can before you put your bag in. This lowers the center of gravity and makes it much harder for the wind to tip it over. For a more permanent solution, some people even strap a cinder block to the side of the bin.
Another fantastic method is to secure it. A simple bungee cord with hooks can be stretched over the lid and attached to the handles on either side of the can. If your can is near a fence or a post, you can loop a rope or a strap around it to anchor the can in place.
Also, remember that a full trash can is heavier and more stable than an empty one. Try to coordinate your trash disposal so the can isn't sitting out empty for long periods on the windiest days.
With a bit of weight and a strategic location, you can say goodbye to chasing your bin down the street