I need to set up my NVIDIA GPU to run on Ubuntu 22.04

I run a laptop with intel Graphics 530 and Nvidia Geforce GTX 960M. When running the nvidia-smi command I get that the NVIDIA graphics card is turned off. Even when playing games. nvidia-smi
Sat Jul 8 17:30:51 2023
±----------------------------------------------------------------------------+
| NVIDIA-SMI 525.125.06 Driver Version: 525.125.06 CUDA Version: 12.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:01:00.0 Off | N/A |
| N/A 44C P8 N/A / N/A | 4MiB / 2048MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2201 G /usr/lib/xorg/Xorg 2MiB |
±----------------------------------------------------------------------------+

What do I need to do?