评估自己发生应力性骨折的风险。 向医生咨询饮食方面的调整。

Given the above summary, write a detailed text in English for it.
Some people are more likely than others to get stress fractures due to occupation, lifestyle, or health factors. People who experience repetitive stress on their feet, such as runners, dancers, or athletes, are at especially high risk. People with health conditions that decrease bone density, such as osteoporosis or vitamin D deficiency, are also at risk.  If you’ve had a stress fracture before, you’re at greater risk of developing another one.  Women are more likely to develop stress fractures than men, especially if they experience abnormal or  irregular menstrual periods.  Long-term use of certain medications, including glucocorticoids (a type of steroid), many hormonal medications, and some cancer drugs, can affect bone density. Ask your doctor if any of your current medications put you at risk. Dietary deficiencies can make your bones weaker and more susceptible to stress fractures. Make an appointment with your doctor or a registered dietitian for advice on changing your diet or incorporating dietary supplements.A diet rich in calcium and vitamin D can help improve bone density and prevent stress fractures.