How to install my Nividia GTX in Ubuntu on my laptop?

I have recently installed Ubuntu 18.04.2 LTS on my Dell G3 3579 laptop alondside Windows 10. I have my Nvidia GTX 1050(Mobile) preinstalled in Windows 10, but in Ubuntu I only see the Intel UHD grphics. I want to install my GPU in Ubuntu too.