Frezzer making a whistling sound and won't make ice

My freezer is only 2 years old and always worked fine, but recently it has been making a whistling sound off and on and sounds like the motor kicks off and on a lot.It’s also stopped making ice.I lost my owners manual so i can’t troubleshoot the problem. The sound is annoying.It is still freezing fine and this seems to be the only problem.Whays should I do?

Thanks
Nickysduck2