Lady coco is almost 5 months old, she doesn't bark that much after the training, she is soooo funny, playful,

but sometimes she goes crazy!!! Starts barking and when I try to get her and tell her not to do that, she bites me!!! How can I stop that behavior???