Cain said his punishment was more that he could bear. God was driving him from the land and he would be hidden from His presence; and that he would be a restless wanderer on the earth and anyone finding him would kill him.
God told Cain that anyone who would kill him would suffer vengeance seven times over.
Then God put a mark on Cain so that no one who found him would kill him.