How do I attach my contacts to an account when I migrate them from my other crm?

How do I attach my contacts to an account when I migrate them from my other crm?

I have an enterprise account and I'm trying to import 5000 contacts. The accounts are already imported. how do I link the contacts with the accounts?

Thanks, Lindsay