I can pitch in here too.
Step 1: Do not sit down doing nothing. It doesnt make it better. It feels good while youre sitting down, then you stand up and its back again.
Step 2: Use your legs for stuff but not intensively. Just... shake them around. Go for a walk.
Step 3: It takes 1-5 days to go away usually. You can just make it more comfortable by putting a heat pack on it or something.
It just goes away on its own. For me, though im not recommending it because i dont know anyone else who can say the same, warming up tends to get rid of it for a few hours. So if i warm up every few hours its swell. Think of it as a reason to practice forms.