Pregnant but broken up

Has anyone been In this situation? I broke up with my boyfriend and moved to another state..then found out I was 5 months pregnant! Oh gosh.