Colloquial contraction of '~te shimatta', used to indicate completion, regret, or an unexpected result.
宿題を忘れちゃった。先生に怒られるかもしれない。
I forgot my homework. I might get scolded by the teacher.
うっかり財布を落としちゃった。
I accidentally dropped my wallet.
もう全部食べちゃったよ。ごめんね。
I already ate it all. Sorry.
やっちゃった!大事なファイルを消しちゃった。
Oh no! I deleted an important file.