@Acer
1. Take the battery out of your smoke detector.
2. Don't cook with oil. (also, the smoke from oil is really harmful to your lungs.)
3. If the problem is oil smoke and you still want to use oil, turn down the temperature and switch to safflower oil (which has a higher smoke point).