How do i get rid of sore muscles in my upper thigh?

I have been having a soreness/cramping in my upper left thigh on the side for two days now and i don’t know why or how to stop it. I have tried stretching it out but it doesn’t seem to work please help.