I have a few example and but I dont know they are correct or not.
-Don't worry! I have done my homework earlier
-Don't worry! I have done my homework earlier before now
-Don't worry! I did my homework earlier before now
I'm not a teacher, but I write for a living. Please don't ask me about 2nd conditionals, but I'm a safe bet for what reads well in (American) English.