Please help!!

In the beginning of my relationship, sex was going on a lot. The passion was there and everything. Years went on, and it slowly faded. We spoke about it to fix it but now it’s basically non existent. We’ve spoken about it again recently, and we said we would work on it again. But now the convo is more him saying he has mentally checked out sexually. I know he’s not cheating bc we both work from home in a new city that we just moved to so we basically do everything together. What man doesn’t want sex?

How can we back to how it was? I don’t know what to do? Is counseling our next step? TIA