Biting 😩

So baby just got his first tooth and started biting when done with nursing or for fun. Ugh I’ve been putting him down when he does that and saying no bite. But he keeps doing it. When should he get the idea that biting means no more boob? He is 8 months