Following first episode or recurrent cellulitis of the leg , prophylactic low dose penicillin is a very low cost intervention which , on balance , is effective and cost-effective at preventing subsequent attacks .