Continuing from my previous answer
‘I posted them a few minutes ago’ or ‘I posted them earlier’. The action is completed.
‘I have posted them’ doesn’t give any information about when this happened, so uses present perfect. As soon as you say that time has passed since you did it, you use simple past. Note, however, that if the event is very recent, you continue to use the present perfect : ‘I have just posted them’. You will hear people say ‘I just posted them’ [simple past] but it doesn’t sound quite right to me. This would be a good topic for an Italki discussion where you can get expert opinion from people like Phil.
Possibly for very recent events either present perfect or simple past are acceptable.
‘They’ve just done it’ ; ‘They just did it’. I prefer the first, but the second is also commonly heard.
‘I’ve just been there’ ; ‘I just went there’.
The past perfect also gets confused with the simple past but, if you like [to think of it this way], in the other direction.
When you are referring to two or more events in the past, which happened at different times, you use the past perfect to put them in chronological [time] order.
‘I had been learning Chinese for some time when I realised I couldn’t make myself understood when I spoke.’
The learning period preceded [came before] the realisation that I was not understood, so ‘I had been learning . . ‘ or ‘I had learned. . ‘ is in the past perfect. ‘I was not understood’ and ‘I spoke’ are in the simple past.
The sentence could be written the other way around :
‘I couldn’t be understood when I spoke although I had been learning Chinese for some time.’
Native speakers use these tenses intuitively without having to think about it, and I understand how difficult it is for learners of English to work out which to use. I have noticed, however, that even [presumably native] English speakers do make mistakes in this, so I don’t think you should worry about doing that.