To keep dogs off your lawn, try spraying a mixture of water and baking soda on your lawn, which will neutralize the smell of dog urine so that dogs are less likely to come back. You can also spray your lawn with vinegar to keep dogs away, but use it sparingly since it might damage your plants. Also, try planting some lavender or prickly shrubbery around the perimeter of your lawn to act as a natural dog repellent.