Poorly designed shift working and long working hours, which don’t balance work demands with time for rest and recovery, can result in fatigue, accidents, injuries and ill health.
Worker fatigue is one of a number of human factors that can affect health and safety.
HSE have guidance for workers and management:
https://www.hse.gov.uk/index.htm