The ingredients in toothpaste which are menthol, alcohol, Triclosan and hydrogen peroxide work to dry out the pimple which causes the pimple to flake and fall off.
To get rid of your pimples using toothpaste just put some toothpaste on your pimples and leave the toothpaste on your pimples overnight.
Your pimples should dry out and go away within a few days of applying the toothpaste.