I have recently bought a iphone 5 on alltel and would like to know how to unlock

I just recently bought a alltel iPhone 5 for around $689 and I would like to use it on another plan.

As long as phone is no longer on contract and fully paid for call apple and give them the information to your phone and make it a ware you paid in full for the phone thru all tel they will have it unlocked for free in like 30 mins

It's actually legal to unlock your phone without calling the carrier now. I used freeunlocks.com a couple of times (if I'm remembering correctly)
You will have to pay a fee to get it unlocked. That can't be avoided, even if you call the carrier. There's no free way to unlock a phone.