Toothpaste can get rid of a pimple. But some doctors warn that it could cause more breakouts.
You could try applying some ice to the pimple to help reduce the swelling of the pimple and help it go away.
If you do apply toothpaste on the pimple though it should go away within 3 to 7 days.