Pregnant and scared

s

So today I found out I’m pregnant and I’m terrified. I’ve been crying literally all day, not because I’m necessarily pregnant but because I know I can’t afford and give it the life it deserves but I’m willing to try. My bf, who is the father, is in the military and will be leaving for 9 months in June and says we can’t have a baby right now because he’s going to be in and out of its life due to work and I had a stroke last year that puts my health at risk so i have no other option. I’m honestly sad that Im having to do this. So, I’m no farther than 3 weeks and I need to know the best method of doing it and how expensive can it be. I was thinking of the pill but I heard it was very expensive. Thank you!