If you encounter any abnormality prior to rotation and if runway remains, reduce power to idle and stop the airplane!
If the engine fails after rotation, immediately lower the pitch attitude to prevent a stall (Vglide), pull the mixture to idle and turn mags off. Land straight ahead. If you are at least 1000ft agl you may attempt to either return to the airport to elect to land straight ahead.