Hi to everyone, ok here's the situation alright I just got another yorkie (female) from this lady that I know and she said nothing was wrong with her but when I got home I introduce her to my other 2 and we were outside and she used the potty on the porch and we noticed that she has WORMS in her stool

I immediately put her in the laundry room away from my other 2 dogs but I'm kinda scared because they was around her for that short period of time

My other 2 are vac. and they get worm pills monthly but I don't know if that's going to affect them. I will be taking her to the vet ASAP in the morning to get her some help I hope! If anyone have dealt with a situation sim. please tell me something good!