tried to answer this earlier and lost my message =( Drink a lot of water, stretch (before and/or after workout/sport), yoga, hot bath or shower.. hot and cold compresses placed one after the other on the area of discomfort. If this pain your having is caused by a regular workout routine you will gradually have less pain because the muscles will start to build muscle memory and they will be more used to doing the work so in turn they won't really hurt or not for long at all..
There is a spray called linimist that you can buy at your local pharmacy, If that doesn't help you should continue to do those exercises so your muscles get use to them.
i use a hot water bottle (douchebag) wrapped in a towel, pressed against the soreness. it works great for cramps too.
i would put icy hot on it...now that stuf works realllly well but its very powerful so make sure u use it right