Ringworm is actually not a worm at all or caused by a worm. Ringworm is actually just a fungal infection caused by fungal bacteria.
If you have ringworm you should wash the area affected as often as possible with antibacterial soap.
You can also get some antibiotics from your doctor or even some ointment to help clear up the ringworm infection.