Travelers to Spain are not currently subject to any quarantine requirement unless directed by Spanish authorities upon arrival in Spain due to specific circumstances.
Are you required to get a COVID-19 test to fly back to the U.S.?
Air passengers traveling to the US are required to present a negative COVID-19 test result or documentation of recovery. Airlines must confirm the negative test result or documentation of recovery for all passengers before boarding.
Can I travel internationally during the COVID-19 pandemic?
CDC recommends delaying international travel until you are fully vaccinated.