It's Black's move in the diagram.
In a recent correspondence game I managed to win an exchange at a cost of weakening my kingside a little bit. In the diagrammed position the g-pawn is missing and the White queen is lurking around. You also see the dark-squared bishop as a potentially aggressive resource for white. Seeing all of this coming my question was:
1. What are the right squares for the king?
2. Should I push my h-pawn to h6? (I will probably have to play e6 to protect f5, so, Bg5-f6 is a threat.
3. Do I put my rook on g-file? In the actual game I did, but that ended up smothering my king in the corner and for a long time to come gave tactical traps to my opponent.
Is there a general guide for how to defend such weakened structures? Like how to cover up for a missing h-pawn, or g-pawn, or f-pawn?
Thanks for your time.
[fen "5rk1/2q1ppbp/p1p5/2N1Pp2/8/2PP2Q1/P1P3PP/1rB2RK1 b - - 0 1"]
1...Qxe5 2. Qxe5 Bxe5 3. Nd7 Bxc3 4. Nxf8 Bd4+ 5. Kh1 Be3
FYI: I can't take on e5 due to the exchange followed by knight fork :(