Leg cramp

It may not have anything to do with pregnancy but I’m 24 weeks and I got cramp in my leg two days ago and I can still feel an ache now if I bend or touch it. Is it something to be concerned about? My worry is blood clots/thrombosis?