Most of the time, a femur shaft fracture is treated with a nail. I don't know if you already had surgery or not. Certain exercises are beneficial and these include static quadriceps, ankle pumps, hip abduction exercises. If the fracture heals without significant malunion, then return to previous level of functioning could be expected.