Pretty simple!
Sign ¿ goes right at the beginning of the sentence, opening the question, and ? goes at the end, closing it.
In correct Spanish, you must open and close question and exclamations
¿Cómo te llamas?
¡Qué calor!
Understood? ;)
More at www.enforex.com