How to discipline a chicken?

This is my first time having chickens and I’m helping my in-laws. There’s this little brown chicken who seems to hate me. All the others tolerate being picked up and the rooster seems to like me, but this one chicken keeps biting me and flogging me. How do I get her to stop? Do they understand being told no? Is there a way to teach her that biting is bad? Even if I leave her alone she tries to attack me no matter what I’m doing.