Long shifts and irregular hours can have detrimental effects on a nurse's health, leading to issues such as fatigue, sleep disorders, and impaired cognitive function. To mitigate these effects, it is important to ensure adequate rest between shifts, maintain a consistent sleep schedule, and practice good sleep hygiene.