Where possible, write in the active voice. The active voice occurs when the subject PERFORMS an action; for instance, “A tornado toppled Uncle Frank’s barn.” In contrast to the active voice, the passive voice occurs when the subject RECEIVES an action; for instance, “Uncle Frank’s barn was toppled by a tornado.”
The example written in the active voice is shorter (by two words), simpler, and more on point. It reads better, and it moves the scene at a faster pace.
Is it “wrong” to write in the passive voice? Not always. While it doesn’t read as well as the active voice, and it often necessitates more words to convey a thought, the passive voice still isn’t literary taboo–you just need to watch it carefully. Is the passive voice ever the “correct” approach to a piece? Yes. It’s good for achieving effect and emphasis; for example, to make sure that a particular word receives the greatest emphasis (by forcing it to the end of the sentence).
When it doubt, go with the active voice. It tightens your prose, gives it more punch, and moves your story along.