Anyone gotten bitten while nursing? How’d you address it?

So

My kiddo bit me yesterday and I yelled because I was so shocked and in pain because he has 2 teeth already. He immediately started crying and I felt terrible. I soothed him and tried nursing other side about 10 minutes later and he bit me again! I’m hoping these were isolated incidences.