Dock is using 50% of CPU, making my MacBook unusable

On this few days I’ve been working using force quit constantly on the Dock. I don’t know how to solve this. Any help will be appreciated, I’m desperate!

I have a MacBook Air M1 16gb (2020)

On this few days I’ve been working using force quit constantly on the Dock. I don’t know how to solve this. Any help will be appreciated, I’m desperate!

I have a MacBook Air M1 16gb (2020)