Chances are she was just being a puppy and ate something she shouldn't have. However, like Giselle said, it's vital to keep her hydrated. If she stops drinking or starts throwing up even after drinking, she needs to go to the vet immediately. Dehydration can kill any dog quickly & especially a puppy.

Hope she's fine soon.