Swimming banned at beaches for a day