Boyfriend falling out of love

My boyfriend and I have been together for two years. He recently lost his job so we been around each other a lot. Like everyday all day. I don't have a car but he does & all my friends stay like a hour away from me so I don't see them much. We argue almost every other day because I bring up the fact we barely have sex and he doesn't compliment me anymore. He barely even kisses me. It causes me to have attitudes and be upset all the time. It's like i'm depressed. I don't feel good about myself at all. I don't know if its because we've been around each other a lot but it feels like he's not attracted to me anymore. What should I do??