When should I apply bc I failed a class. HELP

Honestly it was a time management issue with the class , it was actually easy. I’m going to retake it and I know i can make a A this time. I just wanna know should I just wait to do Regular Decision for my school. Will my chances be better getting in if I apply Regular Decision when i have made the class up