Stress injuries?

Okay so I've been in basic training at fort Leonard wood for the past 2 almost 3 months. I had this really bad pain in my knee that shot up my femur and eventually started to hurt my hip. Mind you this was all in about 4 days. Well I was forced to go to the doctor by my drill Sgt. They scheduled me an MRI and it came back showing I had a severe stress fracture in my upper femur. I'm wondering if anyone had a similar injury? I just got home yesterday evening on convalescent leave for 30days to try to heal. I really don't have an idea of how this happened other than maybe my ruck march. Can anyone who's had an injury similar to mine help me out on how to heal faster?