Painting while pregnant

Just curious is it safe to paint while pregnant? I have read it is as long as you have a window open and its ventilated. Also read if you start to feel dizzy or get a headache to stop immediately. I would like to paint my nursery but it's not a good idea I need to know.