The present perfect is used to talk about:
-situations which started in the past and continue now.
-experiences at an indefinite time in the past.
When the situation is finished, we use the past simple.
When we are speaking about a completed experience at a specific time, we use the past simple. Compare these sentences:
The present perfect is used with expressions of unfinished time. Unfinished time started in the past and continues into the present.
The past simple is used with finished time; when there is no possibility of something happening again in that time period.
Sometimes an expression that usually refers to unfinished time can be used with the past simple tense.
For example:
I received 40 emails this morning! Luckily, I have only received three this afternoon.The speaker is talking in the afternoon so, for her, this morning is finished time.