The method I was taught to deal with a night engine failure is as follows:
Complete the engine fail checklist, fuel, mags, carb heat, etc.
If the engine does not restart, trim for best glide airspeed.
Note your present altitude, maintain best glide with minimum control inputs.
Close your eyes...