How to get rid of muscle cramps?

Okay, so I started doing squats, lunges and side abductions for three days now and my inner thighs and hips hurt... how do I relieve the pain?
Also, does anyone know any remedies for a sprained ankle (I have no idea now I got it) because I can barely walk now.
How to get rid of muscle cramps?
Post Opinion