Does this happen when you're not recording/streaming? If not, then your encoder settings could be using additional GPU which may cause rendering lag. Two Passes Multipass Mode, Look-ahead, Psycho Visual Tuning and Presets P6 and P7 (AFAIK) all use additional GPU when using NVENC. If you have Browser sources/docks and Browser Source Hardware Acceleration enabled, that will also use additional GPU. Close any other programs that use GPU.
If still having issues, then
OBS Studio creates a log file each time you run it which contains very useful diagnostic information. Without a log file, it's much harder for any support volunteers to figure out problems and your post may be ignored. To upload a log file, go to the Help menu > Log Files > Upload Last Log...
obsproject.com