Walkcycle

I was never really clear how to do a walkcycle. Please someone explain this well. Thanks