What can you do?
a. Don't sit for long periods of time. If your job involves sitting, get up every 15 or 20 minutes, walk around and stretch your legs.
b. Get a small footstool to put in front of your chair so your legs are elevated. that takes pressure off the hamstrings and the knees.
c. Be careful about sitting in a very soft chair that causes your body to slump.