1+ on resting until you can walk without pain.

You may have started doing too much. Start with only 30 minutes the first few days, even if it seems like you could go much further. Then after 2-3 times increase it to 35 minutes for a few days. Then go up another 5 minutes. Build up slowly and you'll have less days off for injury.