If you have your contacts saved in gmail, then they should sync back to your phone when you register the google account on your phone. If not, once your Google account is setup, go to menu>settings>accounts and tap on your Google account and make sure contacts are set to sync.