Invalid activation key !

Hi. I new on this forum. I sorry for my English but I from Poland. I have a problem with key! My friend buy 2 keys for me and this keys don't work. Please help me! I try to copy paste cute. Now he give me a program (from email) and keys don't work. I think you help me