If I remember right, Ubuntu uses synaptic.
If it has some sort of refresh function or whatever, refesh it so it can see what you have installed to your system as well as synch with the repositories.
It's normally the button in the upper left hand corner.
After it completes, search for nvidia.
Select the appropriate driver for your nvidia card and apply/install it.