Biting my nipples!

How do you get your baby to stop biting your nipple? She is 6 months and has two full bottom teeth and it hurts so bad. I've tried firmly telling her that hurts (like she even understands) and also putting her down every time but she still does it 😩 is it just a phase? Will she stop? Help