If it IS a tapeworm, you know youre gonna have to tie yourself to a bench and leave a bowl of rotting fish next to your mouth. Maybe stay there for a few days until the worm starves and comes a-looking for the source of the smell. Then when all (upto) 60 odd feet of it have come out your mouth, get your mate to start hacking it up then chuck the pieces on a pyre and do the "tapeworm dance". Then you should continue to starve yourself for 1-2 days incase it caused damage to your stomach/intestines/windpipe when it was thrashing about as it starved.
That... or get the three day pill from your doctor... which ever...