This isn't how it was spposed to happen.
What have you done? This isn't how it was supposed to happen. / Что вы наделали? Тк не должно было произойти.
It wasn't supposed to be like this.