Legally, there is zero (0) grace period to stay in US after your H1B has been denied.
Usually, 10-15 days are considered okay to wrap up your stuff and leave US. You cannot do anything to fix it.
You will need to mention this overstay in your DS160 in all future applications.