You can use the present perfect when a past action has an impact on the present situation.
Look, the dog has broken his leg.
The action took place in the past. We don’t care where or when. What matters is the impact on the dog’s present life: he has a plaster and a cone (of shame).
Oh shit, Michael has been to the hairdresser’s!
Again, what is important here, is that a past action (to go to the hairdresser’s) has an effect on the present: he looks very different.
Now, watch this short video and construct a nice sentence describing the final scene:
Our proposition: The astronaut has eaten too many beans. He has farted and will be killed.