Do this gently but firmly, and they learn not to bite.