I don't know what to do!?!

Hi everyone!

So I've been seeing this guy for a while now and we're not together but we hook up and it's great. He makes me feel treasured and like he just wants to make me feel amazing but I'm starting to want a real relationship with someone but I don't really want to stop having sex with him. What should I do? And I don't think he wants a relationship with me bc I'm going to be leaving for the military relatively soon and he's not very optimistic about long distance or he just doesn't care about me that much.