The inverted Spanish question mark goes at the beginning of a sentence to let the reader know it’s a question. The regular one goes at the end, just like in English.