People usually say "exercise" as a tip for better posture in general, but nutrition is probably a stronger influence because of its effects on core strength, which will make you tend one way or the other.
So if you aren't already supplementing, try protein and a multivitamin. It might be all you need.
So if you aren't already supplementing, try protein and a multivitamin. It might be all you need.