Tap Camera switching icon on screen to switch to the other camera if your phone has two cameras. If one has black display, you may have to send your phone for repair.
Access Safe Mode by long pressing power key > tapping and holding Power Off > tapping OK. If your phone works well in Safe Mode, there may be some 3rd apps that cause malfunction. Please reboot your phone and check again if it works well.