To make sure you have every aspect of your photo under control, set your camera to Manual mode.
Want to have time to get in the shot too? Try out the timer.