Dear @Adl,
Thank you for sharing your situation with the Wefugee community!
If you apply a second time for asylum (this time in another country), I am afraid that your case will unfortunately be a so-called "Dublin-case". Germany and Spain both apply the Dublin regulation, which determines the responsible country for an asylum procedure. Please find more information in this thread, where Marcel describes this process very detailed.
I hope your questions will be answered here, otherwise feel free to get back to us for more clarification!
All the best,
Meike