sudo ubuntu-drivers devices
Get the recommended mark:
driver : nvidia-driver-390- third-party free recommended
You can choose to install automatically
sudo ubuntu-drivers autoinstall
If there are still problems, you can use the following installation:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-390
Generally, this is fine. At this time, all the installed ones will appear in "Software and Updates"-"Additional Drivers", just select a suitable one, such as: