Welcome to the Wefugees community and thank you for sharing your situation with us.
What you have to do now is well explained by the Flüchtlingsrat Leverkusen: http://www.fluechtlingsrat-leverkusen.de/eng/3.4.5_duldungen.htm
"If you receive a notification on the legally binding rejection of your asylum application you should immediately inform the alien’s office [Ausländerbehörde] in writing that you are willing to return voluntarily.
If there was no approval given in the asylum request, there can still be legal and de facto reasons for a necessary further stay in Germany .
- A legal reason can be a severe illness, which leads to the inability to travel or cannot be treated in the country of origin. This must be documented by a doctor.
- A de facto reason may be that there is no air connection available or there is no passport. The refugee cannot leave Germany without a passport or a substitute document.
An obligation to leave Germany also means that refugees have to cooperate actively in the acquisition of the passport.
If a departure is legally and de facto possible and is only not possible because the refugee is not willing to depart, the aliens department will deport (forced return) the refugee. The deportation will not be announced beforehand.
Whether an Aufenthaltserlaubnis can be granted and under which circumstances this may be done, can only be decided in individual cases. However, it is important that the refugee is not responsible for the impeded leave."
Here's also a thread from the community that might help: https://www.wefugees.de/800196/what-happens-duldung-apply-for-asylum-again-asylfolgeantrag?show=800196#q800196
Please feel free to reach out to us again if you have any more questions.
All the best,