Check if you meet the requirements for the Spanish Digital Nomad Visa: definitely faster and easier than reading forums about it for days.
Find out if you meet the requirements for the Student visa, Non Lucrative visa, Golden visa or if you can get a visa through a family member (Spanish or not, it does not matter).