Why is my iPhone 5 not recognizing the SIM card?

i brought a iphone 5 of a friend they were on 02 i inserted a 02 sim card but it still says no sim its on the start up screen so cant even get to settings help someone
Re: no sim even know one is installed

I would ask for my money back. Or you could take the phone to your carrier and have them try a new SIM.
If the SIM is not damaged and the SIM slot is also not damaged, eject the SIM card, reboot the iPhone and then reinsert the SIM card.

Original thread: https://forums.imore.com/threads/why-is-my-iphone-5-not-recognizing-the-sim-card.327738/