Deer don't like dogs because the dog is a natural predator of deer.However, your dog needs to be free to roam the yard or garden space, as he won't do much good chained up or locked inside the house. Moreover, you're probably best with medium to large sized dogs for this purpose.
Keep a dog.
{"src": "wikihow-all_test", "title": "How to Keep Deer Out of Your Yard6"}