They can both be used to refer to the same action in the past. With 'have done' you cannot be specific about when the action occured. I did that last night.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.