Colloquial contraction of やってしまう meaning to mess up/do something (often with regret) or to do something completely.
大事な書類を捨てちまって、もう取り返しがつかない。ああ、やっちまった。
I threw away an important document and there's no getting it back. Ah, I've really messed up.
料理を焦がしちまって、今日の晩ご飯は食べられない。やっちまったよ。
I burned the food, so we can't eat tonight's dinner. I screwed up.
酔ってメールを送っちまうことがあるから気をつけている。
I sometimes send messages when drunk and regret it later, so I try to be careful.