Either your friend did not get the school to erase and prepare the device properly for resale, or they never had permission to sell it in the first place. Either way, only the school will have the admin password to remove their deployment profile and settings so someone else could use it.
Does your screen look like this (with the ID being shown not yours)? -
If a second-hand iOS device has been 'Activation locked' then only the previous owner (in this case the school) can unlock it, either by providing you with the account ID and password, or by removing it from their list of devices (as he should have done before selling it) - please see http://support.apple.com/kb/ts4515
If you are unable to get them to do this then I'm afraid you will not be able to use the device - there is no other way of unlocking it at all. Apple cannot unlock it for you, nor find the previous owner for you, and neither can the websites that offer to unlock it for a fee: these are scams.
In that event you should if possible return it to wherever you bought it and ask for a refund as in this event the device is completely useless.
Hi Torrez6913. You cannot remove the school management profile without the help of the school. You should return the device to your "friend" for a refund. Maybe he can take it back to school and have it released.
how do i remove a school management from ipad