Self punishment?

What do you do when you need to punish yourself(for things like lying,talking back to people of authority, cussing, and being disrespectful) and are aware you did it, but have no one to punish you as you are single?