Walk away and hide somewhere that you can watch him but he can't see you. When he starts to paw, toss a brush at him. He won't know where it came from and eventually he'll catch on that he isn't supposed to paw. This cured my horses. If anyone gets it in their mind to start doing it again, I toss a brush and they don't do it again.