Job fired me even with doctors excuse

Butterfly
I was diagnosed with hyperemesis grav. I get severely dehydrated and weak. Sometimes so much so that I get dizzy and actually have to lay down. I had a sit down job and I've done everything to keep them informed about my condition, however they still wrote me up twice in one day and have threatened termination when I return from doctor ordered bed rest. I'm the sole income in my household and I'm freaking out.. 8 weeks 3 days pregnant.. 😪