We use the present perfect especially to say that a finished action or event is connected with the present in some way
I have had dinner there before.
I have visited Paris.
The past simple (or simple past) is used when an action or event starts and finished in the past. Here are some examples to help you see the difference.
I went to the doctor (last Monday).
I spoke to my mother (this morning).