Some Youtuber did a video testing this with wind speed meters a while ago and the conclusion was to put the fan a few feet from the window pointing straight at the window at an appropriate height. Iirc the exact distance was 3,5 feet / 106cm but hat of course will vary depending on the model of fan and the size of your window.
Edited for some typos.
Latest Answers