You cannot. That is precisely why every helicopter in the game has a pilot, and you are not the one in the seat.
What you can do is crew the door and work the minigun mounted on the side. It is a good position for covering your team, just expect to be an easy target while you are exposed.