The pain in your quads sounds like Delayed Onset Muscle Soreness (DOMS). Basically, after you workout you develop soreness in your muscles. Stretching before and after exercise will help ease the soreness.
The pain in your ankle is probibley from: 1. using the muscles in a way you have not used them before. 2. Walking on a hard surface. 3. Not having a shoe with good arch support.