To bring an unnecessarily painful process upon oneself.
You want to stand in that line for an hour to buy those tickets? Don't poop the apple man, just buy them online the day before.