Hello @Mhd lankan
Welcome to our community!
I've got one question for you in advance: Did you apply for asylum in Spain or did they provide you with a refugee status before you came to Germany? I'm just asking because this is of importance if you want to apply for asylum here.
Let's get back to your initial question: There is an overview of the asylum procedure in Germany provided by BAMF (Federal Office for Migration and Refugees):
Since you just arrived, the following link should be most relevant for you at the moment. It explains the first steps to take as a newcomer in Germany:
If you need help understanding this website, feel free to ask the community. We will try our very best to explain in detail if necessary.