Its not surprising that the doctor suggested those things, as its not really the domain they focus on. If you have bio-mechanical pain, its often better to see a physiotherapist, who can better diagnose the underlying reason and help you resolve it properly.