If the fractured part has healed fully, then only we can continue further treatment. Being bed ridden leads to muscle weakness and tightness, so creates pain when a particular posture is assumed for a long time.
Next Steps
Go to a physiotherapist.. Heating +some strengthening exercises as well as stretching exercises will be helpful for sure.
Health Tips
At home.. Full side stretch+rotations are helpful+dont sit /stand/walk/lie in same position for a long time +no long travelling+no stair climbing +correct posture (sit tall) +no weight lifting +no manual exertions