Hey everyone. Just wanted to update you all and let you know Logan is alright

we went to the vet and it was in fact tapeworms. They gave us 30 mg of virbantal for him to take half today and the other half in 3 weeks. We have his 12 week check up and shots next week so they're going to check his stool again then. But all should be fine now. I'm still so confused about how he got them. He's been fine for two and a half weeks and never runs around outside without me. But they said it's not likely to be from the cat poop he ate.
I'm getting more gray hairs over this puppy! Haha.
Thanks for the replies!! I feel so much better now *exhale*