Welcome to the Wefugees Community and thank you for sharing your situation with us.
In general, staying illegally in Germany would be a violation against the law according to the German Residence Act, Section 95.
What consequences you may face is really hard to predict, without knowing your situation. In the most cases, people will not be punished in Germany but deported.
I would highly recommend you to look for individual support, for example in a migration counselling office close to your place of stay. They will deal with your case confidentially and their services are free of charge. Please let us know, if you need help with finding such an office.
All the best,