Can I turn an iPhone 5s from virgin to sprint?

My buddy is selling me his iPhone 5s at a good price and I want to get it but the problem is that he had his on virgin mobile and I'm on sprint network, can I just switch out the SIM cards or is there's more to it than just that? And if there's what do I need to do in order to get it to work for sprint network. Is there other problems if I do this?

Thank you guys I appreciate it I want to get this now as a present for someone.

You sure can

You can't because Sprint dosent have sim cards

You can't use that phone with Sprint. Neither Virgin nor Sprint use sim cards for service in the US and both carriers require their customers to use their own carrier-branded phones. So Sprint customers must use Sprint phones and Virgin customers must use Virgin phones. You can't get around this requirement.