How to get baby to stop biting?

Honesty • Engaged with our miracle daughter after being told I could not get pregnant.

My daughter is four months old and is teething. She's always occasionally bit during feeds, usually I say 'no biting' loudly and set her down and walk away for a while, but this hasn't really seemed to help. This last feed she bit me several times in a row before I could get her off. I really don't want to be bitten with teeth.

Any tips on how to stop this?