Hey there Larah!
A short explanation would be:
The difference between them is that we use past simple for specific past time
Present perfect for things in the past and up to now
Past perfect for something that started in the past before another thing in the past
for example:
past simple >>> I went to school yesterday
present perfect >>> I have lived in New York for 27 years
past perfect>>> I had studied English before starting a new language
Hope it helps you :D