how do i get rid of a robin that keeps pecking on windows in my house, its becoming very big nuisance.?

Here are a few effective methods to deter a robin from repeatedly pecking on your windows:

1. Reflective Surfaces: Hang shiny objects like CDs or Mylar balloons near the window. The reflections can scare away the robin.

2. Visual Barriers: Place decals, stickers, or even paper cut-outs on the outside of the window to create a barrier that obstructs the robin's view.

3. Fake Predators: Hang a fake owl or hawk near the window. This can create the illusion of a predator and discourage the robin from approaching.

4. Wind Chimes: Install wind chimes near the window. The noise and movement can deter the robin.

5. Predator Calls: Play recorded sounds of predator birds, such as hawks or owls. This may also frighten away the robin.

6. Netting: Install bird netting over the window to physically prevent the robin from reaching the glass.

7. Motion-Activated Devices: Consider using motion-activated sprinklers or alarms that can startle and deter the robin when it approaches the window.

8. Taste Deterrent: Apply a commercial taste deterrent or a homemade solution of cayenne pepper and water to the windowsill. This can discourage the robin from pecking.

9. Perches: Provide alternative perching spots for the robin, such as birdhouses or feeders, away from the windows. This may redirect its attention.

10. Block Access: If possible, temporarily block the robin's access to the window by drawing the curtains, closing the blinds, or installing temporary barriers.

Remember to be patient and persistent with these methods, as it may take some time for the robin to learn and adapt to the deterrents.