Your Docker installation is not working correctly

Is there any guide on how to update docker to latest version? I am completely noob at this so need step by step guide.

My site is hosted on digitalocean.