Well,let us hope a fast full recovery for you!
At first you need to be assessed by a proper orthopedic physician or...
Generally, we should determine if yours problem muscular or bony !then if its muscular as it seems since you can hold it in normal position for a while...strenghtening,mobilizing and stretching exercises could workout.
if the problem in ligaments [soft tissue] may need a surgery,since cells in ligaments make granulation tissue[fibrosis]
if the problem in bone that affects cosmetic and functional outcome may need to consult orthophysician,,,,,
Hope this helps!