Opportunities to unlock Spells will present themselves to you at the beginning of Puzzles as you progress through Harry's story.

When presented with the opportunity to unlock a Spell you must defeat the Puzzle in order to unlock it.

Check the Spell’s capabilities by tapping the Profile button, then tap the Spell.