Welcome to the forum
As said above, if they bite, a LOUD 'OUCH', and if needed a few more, if that does not work, try turning your back on her and totally ignoring her for a couple of minutes, consistency is the key here, it won't happen over night but she will get improve after a few days.
Arabest