how do i get my snake to stop rubbing his nose on the top of the tank

There are a few things you can try to get your snake to stop rubbing his nose on the top of the tank. First, make sure the tank is properly ventilated and that the temperature and humidity levels are correct. If the environment is too dry or too hot, your snake may be trying to cool off or moisten his nose. You can also try providing more hiding spots and places to explore in the tank, as this may help keep your snake occupied and less likely to rub his nose on the top of the tank. Finally, you can try using a snake-safe spray or misting the tank with water to discourage your snake from rubbing his nose on the top of the tank.