If you have only one, set it to intake and leave another window open a bit (maybe like half the fan size). You can confirm that air is exiting that way by hanging some strips of tissue paper in it.
Positive pressure (blowing in, from outdoors) is also the right thing to do if you are trying to keep smells from other rooms at bay. Whereas negative pressure (blowing out, to outdoors) is best to keep a smell confined to one room (e.g. this is how bathroom fans work).