Jennifer Lopez has learned to ‘prioritise’ self-care