I earned money in Spain, but it was already taxed. Will I get a refund if I declare it in the U.S?

It was taxed with 24%. I was given a document that shows this.