If you look at the side of the fan you will find a small arrow.
The arrow points in the direction of air flow.
So you mount the fan in the direction you want the air to go.