The advice I was given by my instructor when my mare started to do this was to not give an even an inch with the reins and to even give her a small tap on her neck with the whip if she continued to do it. I have to say she now has stopped this completely.