Hey there @Sohab,
Thank you for reaching out to us and for sharing your situation!
To answer your question, it depends if you returned to your country of origin voluntarily (after your asylum case has been rejected and you have been asked to leave the country) or if you have been forcefully deported.
The following information is from the BAMF website:
"A statutory ban on entry and residence – the "re-entry ban" – comes into force for asylum-seekers who do not leave the country voluntarily after their asylum applications have been turned down. The job of the Federal Office here is to set a time limit on bans on entry and residence for rejected asylum applicants. The individual circumstances (genuine interests) are taken into account here. The immigration authorities are responsible for implementing bans on entry and residence.
The time-limit, which starts on return, may not be longer than five years. The period can however be extended for up to ten years if the individual has been expelled because of a criminal conviction, or if they constitute a serious danger to public security and order."
As stated above, the entry ban can be up to 5 years for people who's asylum case has been denied and who didn't leave the country voluntarily. A different time applies to people who come from so-called "safe countries of origin".
You can read about all this on the BAMF website here: https://***.bamf.de/EN/Fluechtlingsschutz/AblaufAsylv/AusgangVerfahren/EinreiseAufenthaltsverbote/einreise-aufenthaltsverbote.html
Please also have a **** at this thread where our experts answered a similar question:
Can I go back to Germany before my entry-ban runs out?
This thread might help as well:
I've been deported, but I still have a visa - can I use it again?
Even if this may not apply to you, there is a different time frame for people who returned voluntarily:
Applying for asylum in Germany again after voluntary return to Syria
I hope this information helps. Feel free to reach out to the community again if you need any further assistance!
Kind regards,
Isa