Black screen during macOS recovery

Hello I have got i5-8400 and it kept stuck on the macOS recovery screen (entered the macOS recovery option and back to the main screen). What can I do? Thanks

Author: @babyjonny9898