With 7.b3 and 8.a4 you gave Black time to launch the attack on your kingside. He had much kingside space and attacking-wise well-positioned pieces. To avoid the attack, you could have tried to bring more defending pieces to the kingside (Bg5 attacking the f6 knight), or to push in the center and/or try to control it better (Bg5, e2-e4, then either ...dxe4, Nxe4 attacking d6 and f6, or e4-e5, or ...e6-e5 from Black where the center gets opened and you have Re1 against Black's king exploiting the fact that you've already castled). In short, you could have replaced 7.b3 and 8.a4 with other moves that improve the kingside as Black's attacking threat didn't let you make use of those moves on the queenside.
How to prevent attack on my king

1) The attack on the king was launched from two ends- 1) battery of black bishop & Queen 2) Rook pawn (h pawn)
2) Moving the knight (Move 10 Ng5) was a blunder. Better move NXh4. If black moves Rxh4 then 11. gxH4 and if black bishop takes h pawn (bXh2) then 12. Kg2. Queen can not check the king. Further, if black is not careful then the diagonal can be closed in White's next move with 13. f4 thus trapping the bishop.
Hi,
Today I lost on a bullet game:
http://www.chess.com/livechess/game?id=933636938
At move 8 black started to attack with pawn to h5.
What I needed to do in order to block is attack?
I found myself number of times being attack on this way and I never sure what is the best step to do.