In general, you should either run the heater or have your window open. Both at the same time is bad news for your energy bill.