Please I don't know how to restrict users from internet during working hours, eg. 8am - 6pm

Please I don't know how to restrict users from internet during working hours, eg. 8am - 6pm