To work on posture when sitting, make sure back is touching chair, especially low back; feet touch the ground and top 1/3 height of your monitor is even with your eyes. Don’t strain forward with your head/neck.
https://bodydynamicpt.com/wp-content/uploads/2021/08/Ergonomic-Work-Station-Set-Up.pdf