I was told that my place was in the home

When I was six months pregnant with my son, I was called into my managers office and told that now I had two kids to care for, my place was in the home (despite my husband being at home). I let them know that I was having complications and was told to go on bed rest. They immediately permanently laid me off. The same company asked me to come back 7 weeks after giving birth to my son. I declined.