The past simple is for a finished past action, while the present perfect is for a past action that connects to the present.