Boyfriend doesn’t seem interested. HELP

My boyfriend and I have been living together for over a year and even living together sex has been great and regular but this year we have had a lot of hardships and we haven’t had sex in over 4 months and it seems like he’s not attracted to me. He doesn’t even touch me.. I sent hints and I finally flat out asked him and he just said “sure” what should I do? I’m at a loss. I’ve even brought it up to him that he doesn’t touch me and that I’m upset about it and he always changes subject.