What or how do the game mechanics work if both spells are in effect...does the order they are applied matter?

May be a noob question but have yet to "see" which is actually working when both are there.

Thanks