You can try and talk with her (assuming her) about alternative ways to be close. Might or might not work.
I thought my wife and I had an alternative way to be close, until Christmas Eve.
A few years ago, she had let me know that intercourse had just become too painful for her, and the interventions we looked at (like estring) reportedly increase the risk of cancer, so those were out.
I had been also providing her with erotic massages for years. At the time, she described receiving them as something like melting in pleasure, and her climaxes at the end (from oral sex and then KY liquid-enhanced massage of her clitoris) as "volcanic." She would fall asleep as we spooned afterwards, totally relaxed, and in the morning, tell me how happy she was. So naturally, I suggested we just do more of those massages (she has no training, so it's always been me as the provider), and she readily agreed.
Enter a couple of years with lower back pain, for me, and the massages became less frequent and less extensive. I thought we both missed them.
On Christmas Eve 2018, at our favorite resort, I had everything ready, from her bubble bath to the massage oil: for her first full-length massage in years. But when the time came, I couldn't pry her away from her iPhone or "Law and Order," and she made some excuse about being too full from dinner. The night before, it had been "feeling too tired."
So I asked her what was wrong, and she finally admitted she didn't want massages any more... that to her, they had become just an exercise in getting greasy, kind of a nuisance.
My first thought was to search the room for an empty "Body Snatchers" pod, and ask this alien what she had done with my wife.
More realistically, I thought about asking her if she had lost her mind... but I settled for asking her if she'd really rather play with her phone and watch people murdering each other, than get a massage from her husband.
She said she simply isn't interested in that kind of thing any more, so I should just find a mistress, younger than her.
Lord, what fools these mortals be...