What sentence will you choose to impose on yourself? Are you willing to stop suffering and making yourself miserable when your sentence has expired? This would at least be a responsible way to punish yourself because it would be time-limited.
Feeling Good: The New Mood Therapy (ed. 1980)