Did you notice that your queen controls the g5 square, so your opponent just hung a knight on move 11?
Sure, you might have to look at 11...Qxg5 12.Qxb7, but there's no way that can be worse than letting your opponent destroy your king's position *and* be two pawns up, having regained the piece (with at least 12.Nxe6, if 12.Qxe6+ doesn't win somehow).
Basically, your opponent just played the attack terribly, and blundered.
I played this game recently. I declined his queen gambit. Then my opponent did a sacrifice.
I was a bit worried. I won, so I played alright I guess. But my opponent made me sweat. Did I handle it correctly, or was there a better way of handling the sacrifice?