Dear @Scared1,
Welcome to the Wefugees Community and thank you for reaching out to us.
First of all, I would like you to know that you should not worry that much. Nobody will try to separate you from your child. The opposite - as mother of a German child, you will be able to receive/keep the residence permit according to section 28 of the German Residence Act and keep the custody as well of course.
However, I think it would be really good in your situation to get some individual support in a counselling office. The social workers can help you with different things which may need to be organised now.
You can use this search engine to find an organisation (like Caritas, Diakonie, AWO or Red Cross) close-by. Don't worry, these offices offer their confidential services free of charge.
In any case, please also don't hesitate to get back to us with any further questions.
All the best,
Meike