If you run across a black screen during the installation process of Windows 10, then depending on your hardware, this could still mean that the installation is progressing in the background.
The first thing to do in this situation is to leave the black screen for up to 6 hours if your computer is particularly slow. The better your hardware, the faster the process will take, but giving Windows a chance to sort itself out is always worth trying.