Boyfriend

So my boyfriend cheated on me and I broke up with him but I’ve been crying nonstop and I want him back would it be dumb for me to take him back? He doesn’t know cause he is in the army but he comes home in a few weeks and I know he’s going to want to talk but he was the only thing that made me happy and now I just feel lost and lonely. I don’t know what to do.