Back pain is a common complaint that can occur to any individual of any age. It is an bad situation that can be quick or remain for long time. It mainly occurs due to malfunctioning of the bones, muscles and ligaments in the back. You need to avoid these factors: stressful job, strenuous physical exercise or activity, anxiety, sedentary lifestyle, depression, smoking. Also you should choose good and comfortable mattress suitable for your sleeping position. For example I prefer to sleep on my stomach, there are special mattresses for stomach sleepers(link). If you like to sleep on your side or on your back, you need to search another options.