Separating help!!!

Okay so I need some help. I’m not going to get into detail but thinking of separating from my husband. How do stay at home mommas do it ? Like I have nothing to my name, and his family is out of state. So it’s like would I have to leave the house ? My kids are young. 3 and 2. I don’t know where to begin. Obviously I would have to get a job but that’s the saddest part. I want to raise my babies. At what point do you sacrifice your happiness, or the kids ? It’s just such a hard situation to process. Someone who has gone through this please give me all the advice..