Htc hero unlocking problem

I got unlock code from the server, I enter it into phone it says unlock successfully after. It start saying unlocking sim card here it wil stay the whole day without success.how to fix this now agent help needed