How to deal with boyfriend leaving😭

So I’m currently 35 weeks pregnant and my boyfriend is leaving in May to go to basic training for the Air Force. I’ve Been trying to push it off in the back of my mind because I honestly cant bear the thought of him leaving. He’s going to meps this Wednesday and he will be gone until Thursday night and I almost had a panic attack today thinking about it because I haven’t slept without him in over a year. I tried it once and I didn’t sleep all night, I just cried. I’m really worried and don’t know how to cope with this. Any help??