Turn the cloth frequently as you work, so tarnish isn't deposited back on your item. Wash and rinse in warm water and buff ...
Contact with the foil is important — the foil fosters an electrochemical reaction that'll remove the silver sulfide (tarnish) ...