Spain Visas is hard to understand

Hi I am Chris,

I am from the United States but I would like to live in Barcelona long term.  I am currently in Barcelona on a touristic visa and will need to leave soon.  I have applied for jobs here in Barcelona and received offers as piad internships and that could possibly turn into jobs after I complete the internship. I am trying to figure out how I can return back to Spain to work with these companies as an intern and then get work visa after.  I do not understand all the work visa and student visa rules and was wondering if someone could help explain or have a possible solution for my situation.

Thank you for any help.

When you return to the States you can apply for a visa by visiting the nearest Spanish Embassy or Consulate.