I'm having a tough time

I've been with my man for 14 months hes the first man I ever loved. he just decided to be a truck driver a few months ago. I miss him lots I've been having severe insomnia which I went to the doctors to see what to do. my bf came home for 2 days which was amazing. we text every day and I don't want to loose him. what should I do?