Need to retry the failed test before sending the report

Is there any way we can retry the failed test first before sending the report?