Place your dog's favourite toys, treats and food out in one corner of your garden - this will encourage them to spend more time in that part of the garden than the other areas you want to keep pet-free. Try spending time playing with them in that specific area too, that way they will start to associate fun, outdoor time with that section of your garden.