What should you do if your cat has worms?

What should you do if your cat has worms?