You can decide whether to use active or passive voice by determining what you want to convey. If your intent is to focus on the doer, then go with passive voice. Whereas, if you want to draw attention to the action, then use an active voice.