Worms are one of the worst problems about getting a puppy that young. I had the same thing with Sunni, who I got at 9 - 10 weeks. She was bloated and had poopie problems. So, I checked her poop and there they were. The vet wormed her and she started to improve but just one time worming wasnt enough. She needed a second shot about 2 -3 weeks later and I was told it sometimes takes 3 doses

. Its gross to deal with, for sure! But a huge relief when they are all gone. Make sure you are washing your hands and dont really let her get too close to your face, use extra sanitary care until the vet checks her stool and gives the all clear...people can get certain types of worms from their pets sometimes.
That's one of the things a really good breeder has handled that people forget to talk about, lol. When you get your puppy at 12 weeks + the breeder has been doing the de- worming..when they leave early, there may not be enough time to get them clear...at least that's the case with my little miss Sunshine.