Did your vet discuss the medication with you? Pinworms are fairly common with beardies, and as jclaiborne said, I've always heard that they can get them from their crickets. They're really not anything to worry about as long as you don't leave them untreated for a long time.
I've had to treat two of my beardies for pinworms. Both times, I used the generic of panacur, and it worked great. Just make sure you get another fecal exam done about 2 weeks after treatment to make sure it took care of it. This is where I've gotten the medication, if you are interested in doing it yourself (sometimes it's cheaper than getting the meds from the vet): http://www.beardeddragon.co/index.ph...product_id=113
Hope that helps!