sudo vim /etc/modprobe.d/blacklist-nouveau.conf

#add  the content blow 

blacklist nouveau
options nouveau modeset=0

sudo update-initramfs -u