iPhone and iPad users were urged to do three things after a cyber attack infected 178 major websites this week.