Sleeping with window open

Is it ok to sleep with window open all night will my bby get sick or a stuffy nose every morning I have to deal with th stuffy nose n I feel bad for her bc her nose is locked n can't breathe so I have to try and suction it out it's hard for us as she's crying n moving what can I do to prevent this