Core-muscle strengthening and regular exercise can help prevent a herniated disk. Keeping your weight within a healthy range and using good posture can also help.