A school has put out a warning to parents after several pupils say they've been followed home by a man in a van.