“Peanut warning read at your OWN RISK

... not responsible for the covering of mouth or eyes!”
Well it all began two days ago, Peanut was going in circles trying to grab his tail and bite at it. My daughter was the first to notice and was like “Look mom Peanut wants to catch his tail.”

I have to admit it was a funny sight. However, this did not stop and he kept trying to get at his tail. So I figured okay he needs a bath and a little shave must be bothering him so while I was grooming him with the trimmers I looked down and “OH MYYYYYY a huge Tick was attached to his butt!”

I have had trouble lately with ticks bad here for some reason but check him regularly. So yep ...... I go in and grab the little sucker!
Well that is not why I am here........ Well tonight I have Peanut in my lap and I am searching him for any ticks and of course I have a new spot I must look at now

so I take his little stub tail and push it back and I FREAK out......... half out of his umm **** there is this white little worm. I cannot believe what I saw I take my nails and pull it out (told you to read at OWN RISK!) I have placed it on a piece of paper for the vet. I searched this site for what the heck this could be.
Before asked, YES he was treated for worms last year, November to be exact. So why in the world if that is it would he have them? If it is not that, what do I want to know when I go to the Vet? Could the tick have caused that? Sorry so long but I know details is the best way to get a clear picture or understanding for all the HELP I can get! Thank you!