Unfortunately, there isn’t just one simple answer to this question.
Your camera doesn't have a single setting that will guarantee excellent pictures. But if you have manual controls, playing with different mixtures of ISO, aperture, and exposure settings is usually preferable. As a general rule, ISO settings of 800 to 3200, f/2.8 to f/5.6, and shutter speeds of 15 to 30 seconds have been found to be successful.
Keep in mind that ISO settings between 800 and 3200, f/2.8 and f/5.6, and shutter speeds between 15 and 30 seconds have produced excellent results.
Results from various combinations can vary greatly. You can take faster exposures with a higher ISO setting, but the photographs can turn up grainier as a result.
If the shutter speed is above 15 seconds it will result in a slight star movement.
In low-light situations, wider-angle lenses are typically more adaptable, while longer lenses provide you with more compositional alternatives. Make sure to take off any lens filters because they could cause image distortion. Most likely, using a manual setting for infinite focal length will get the greatest results.
For more tips, read our blog on photographing the Northern Lights.