Jennifer Lopez has learned to "prioritise" self-care after decades of enduring a busy Hollywood schedule.