There is a Terminal command that you can use to quickly make your dock look like new again. Do you experience problems with the Dock on your Mac? The best you can do is to reset it to default settings.
The following Terminal command will reset your dock by removing any icons that you’ve added and removed. It’ll also reset the size of the dock, magnification settings, and its location.