So the assumption is you want the MEP code to unlock the phone.
Cell phones are usually locked to a carrier unless the code is entered and unlocked. The other issue may be the phone was listed as stolen and the carrier locked it out and
that's why you cannot get it to work.
Was it on Rogers?
Did it work for the person who gave it to you?

If the phone did work and is not stolen and you want it on Rogers and it was working on Rogers you don't need a MEP code.
If you want it for another carrier then do an internet search for a company offering unlock codes. Usually about $10.00

If the phone was on Rogers originally and sold by them to the user they should be able to provide the number free although it may take a push by you to get the right person to help.