Need Urgent Help with my GEFORCE RTX 3060 with ubuntu 23.04

vaxine@vaxine-90SV00LDAU:~$ nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 535.86

How can i solve this ?

Prior to CUDA installtion nvidia-smi was returning GPU information like 535.86.05 CUDA version 12.2. now giving this error. what to do ?

Such errors may appear when automated security updates for nVidia drivers get installed by the unattended security updates code.

If this does not go away after a reboot, consider reinstalling your nVidia drivers and possibly turning off unattended updates.