There's two or three big things to keep in mind when using magic in a story. One is that is should cost something, or there should be some reason that it's not used to solve every problem. Two, your characters that use magic need to have limitations. If they are the protagonist, those limits...