I agree with the above. I have a guess as to what the are, but you still need to see your doctor immediately.
There are some medications you have to take that specifically kill these critters. I do know from watching documentaries and such that some of the medications aren't pleasant either, but what caregiver222 stated is absolutely true.
If you can't see your regular doctor immediately, go into your local ER.
you should go see a doctor asap
You really have to see a physician to have these worms identified by an in-person visit with a specialist and immediately eliminated. Some varieties of worms invade the bloodstream and settle in various parts of the body, including the brain. You have a potentially life-threatening situation.