Got fired, 20 weeks pregnant

My company is downsizing and let me go today. Downside? I am 5 months away from giving birth and companies only offer maternity leave for employees who work 6 months. Any and all advice welcome. Or share similar stories and how you overcame. Thanks :(