Here are some tips to discourage deer:
For a vegetable garden, the only reliable method is the construction of at least an 8-foot high, woven wire fence that completely encloses planting beds. Several types of electric fencing provide a less expensive yet effective alternative. Elsewhere, nonelectric fences may be sufficient to keep deer out of an area if their density isn’t’ particularly high.

Individual cages or plastic netting can protect smaller plantings.

Deer repellents function either as taste or odor repellents, but there is nothing on the market that provides absolute protection. Repellents contain a blend of ingredients (putrescent whole egg solids, clove oil, garlic oil, ammonium soap of higher fatty acids and capsaicin) so read the label to ensure they are safe on edible fruits and plants.

A dog of sufficient size and temperament may be kept on a leash near the garden and allowed to stay outdoor overnight.

Noise-making devices (i.e. screeching hawks, exploders, sirens, whistles, etc.) aren’t recommended for the home garden because of the disturbance to neighbors and lack of effectiveness. Deer readily acclimate to the noise and are little disturbed after a few days of exposure.

Talk to your friends and neighbors for ornamental plants that deer dislike. My deer resistant favorites are: boxwood, weigela, sun king aralia, lilac, peony, and forsythia. But remember that no plant is completely deer-proof, particularly when deer densities are high. If you like to plant hostas, you’re giving a salad bar to the deer. When they’re well fed, they have more fawns.