Have Cat Questions? Ask a Cat Vet Online.
If the worms look like white rice, you are probably dealing with tapeworms. Over the counter wormers do not work for tapeworms. You will have to get some droncit or drontal from your vet.
You also need to treat any flea problems that you have because tapeworms come from fleas.
Let me know if you still have questions.