You can use like the vaccum or siphon and lightly siphon the dirt of the top while it's in your tank if that is what you mean. It takes a lot of practice to not suck all the sand up and out of your tank.
Or do you mean when you clean the whole tank how do you clean sand?