Lifestyle changes ive made to try prevent from occuring in the future:
-Walk around the block before work,
-Walk around the block lunch break,
-Long walk/run after work.
-Weight loss
-Dont hesitate to get up and walk around as often as you want (keep the blood pumping!)
I dont sit on a chair at computer after work hours. I do on the weekends to program stuff, but monday-friday i dont sit at my computer after work, and il sit on couch rather than chair if i can on weekends. My issues really arose when i was working on a coding project after work hours (majority waking hours was in the chair working), gained like 20 pounds over a year, reduced my exercise frequency, my primary care doc mentioned these all could contribute.
I also wear very lose shorts during the day to orevent my waistband from screwing up my posture, but maybe once we get stuffed back into the office we wont be able to do that anymore.