Take two aspirin and soak it. That's what our Navy corpsman always told us and it may be true in this case. You should be better in about three days. There is a common adage among body builders that no pain is no gain. I have always felt that no pain is no pain. Take it easy and work your way up. Life is too short to spend it hurting.
Drink some Gatorade and lightly stretch out your legs. When you are sitting on your sofa or couch elevate your legs even with your heart and use a heating pad. Take a break until you aren't so sore. You do not need pain medicine for overworked muscles. Enjoy your day.