standing and walking too much?

I’m 24 weeks and I’m at work, I currently stand and walk a lot but my feet, legs, thighs and back ARE KILLING ME so i’m sitting down for now. my thighs and legs ache as well as my back..

I was wondering can this cause preterm labor or can these aches cause any harm?