My bishop is attacked by a rook-pawn, now what? I usually get into this position, where I just recently moved the bishop to g5 (or b5), and his response is moving h6 (or a6):



Usually here, I only consider two possibilities:


Take the knight
Retreat my bishop*
Do anything else (rarely profitable)


* either to h4 (or a4), or back in the long diagonal where it came from

I know this position strongly depends on how the other pieces are in the board, but I am sure there are standard responses, with their pros and cons.

I would like to study this position in-depth, possibly read some books that talk about it, anyone can point me in the right direction?

Also, in case of moving it to h4 (or a4), is it considered a mistake for black to attack again moving the other pawn two squares?
Usually the bishop doesn't end up by chance on this square, so why did you move it there in the first place? I can think of three reasons:


pin the knight in order demobilize it (e.g. an indirect attack on a pawn)
pin the knight in order to take it (e.g. to give the opponent a doubled pawn)
provoke a weakness in the opponent's pawn structure


Be clear which of these motives apply in your case before you move, then you know what to do afterwards. Obviously "development" isn't a motive, but just an excuse here.

By the way, if your bishop is on b5 and the bishop on c8 isn't developed, sometimes Qa4 is an option (axb5 Qxa8).