Hello, I'm Wes, and I'll be assisting you today.
Unfortunately, the clicking sound you are hearing is a broken gear. They are made of hard plastic and break over time.
The only way to fix it would be to replace the gear which would require a printer service technician since it's hard to get to and remove.
However, it will cost about the same as a new printer and you can get one that is under warranty. I would suggest that route instead.
Let me know if you need additional help so I can assist further.Also, please rate my answer below so based on your satisfaction.Thank you.