Present perfect is often used in these situations :
1 when s.th has recently happened in a very short time distance in past e.g:
I've just arrived..... Means very recently for example a few minutes ago.
2 when we don't know the exact time when s.th has happened or when time doesn't matter e.g:
Oh! The car has broken down.
If we knew the time we could say :
The car broke down yesterday.
3 we use it for experiences or when we wanna mentione the number of times e.g:
I've travelled to Europe 3 times (till now)
4 the event might have started in the past and still continues or when we wanna say the length of an event e.g
I've known him for 3 years... Means for example i met him 3 years ago and we become friends and we still are.
Use Past simple to express an event that took place at a definite past time (either the recent past or more remote past) s.th that happened and Finnished. Complited actions. Past time words are often used like yesterday, last week, three months ago, etc. e.g:
I washed the dishes yesterday.
They migrated to Canada many years ago.
The action can either last for a period of time in the past* or finish at a fixed time in the past. #
Henry ran 15 kilometers every day for six years. *
He died in July. #