What have (I/you/we...) gotten (myself/yourself/ourselves/...) into?
なんでこんな羽目になったの(か)?
("get in over (my/your...) head = (想像以上のものに手を出す)
= (手に負えないことを請ける)
"get yourself into (trouble/a mess/a predicament/a bad situation) = やばいことに巻き込まれる
というニュアンスもある
1. The police came by today looking for you. What have you gotten yourself into?
2.
When I volunteered to conduct the survey, I didn't realize I would have
to report
the results in a speech before the whole school! What have I gotten myself
into?
3. I've really gotten myself into a jam this time.