Oooh that sounds painful! If it happens again you should stop and stretch out the calves to get rid of the cramp and then carry on. It's up to you if you feel you've done enough running to tick it off. I would probably do the run again because I'm a bit of a perfectionist and there is no hurry is there?
If you're a complete noob to running, then week 2 seems a little early to be "overdoing it up a hill". Take it easy! You're at the very start of your journey and your body is not used to this yet. Try and avoid hills at this stage if you can. If you can't (cos of where you live) then go up them very very slowly and with very short strides.
I think it will still count. In the early days though it is best to adapt the program to your own needs. You did the right thing by walking when you had pain as your body needs to adapt. Move up to the next week when you feel ready.
If you move to the week 3 and the pain returns ease back a bit--rest and maybe repeat week 2.
Lots of people on here (including myself) repeated weeks as needed. I had to take some weeks out just doing slow jogs and walk intervals. I got there in the end though ---it just took longer.
Good luck with it----the first few weeks can be the toughest when your body adapts to all the changes. It is worth it and it does get better.
I actually repeated week one and two because I was not confident to move on. Don't worry there are no hard and fast rules. Play it ear and move on when you feel ready.
Content on HealthUnlocked does not replace the relationship between you and doctors or other healthcare professionals nor the advice you receive from them.
Never delay seeking advice or dialling emergency services because of something that you have read on HealthUnlocked.