Guns, you can pay karma, or you can find someone with a PAB setup, and get them to deprogram you. Which means you'll owe them a favor, of course. But a mature player will see this as an opportunity for roleplay, and may look for some means to get even, once he's got his head straight again.
This is Shadowrun, not EverythingWorksOutForTheBestWhereverYouGo-run. Sometimes, it just plain sucks to be you. Like if you owe Harlequin a favor, or if you happen to stumble into an Ant hive. Sometimes, no matter what you do, you lose. It is how you react to that loss, both in character and out of character, that defines a character, and a player.