Many public areas where you might walk your dog have stations specifically designed for you to toss your poo bags into. You can tie the top of the bag and just toss it into the garbage. If you use biodegradable bags, you can compost them, but that could increase the number of germs and parasites, and it isn’t wise to use the compost in your garden.