Boyfriend jail/ prison

Has anyone ever been in a relationship with someone in jail? My boyfriend might be going back to jail or maybe even prison Monday I’m so scared. I was dating him when he went to jail and it was hard but he came out in like 4 months but with prison they were talking about 3 years and I know for a fact it’s going to be even harder. I just need some advice how to handle this. Also there is a possibility I could be pregnant it’s just too early to test but I definitely have symptoms I really hope he doesn’t have to get put in either especially if I’m pregnant with his child.