Hello there
You need to explain more regarding your issue.
Also, I will need clean logs in order to be able to help you.
1) Restart OBS
2) Start your stream/recording for about 30 seconds. Make sure you replicate any issues as best you can, which means having any games/apps open and captured, etc.
3) Stop your stream/recording.
4) Select Help > Log Files > Upload Current Log File. Copy the URL and paste it here.
(Note: If you do not see an obsproject.com URL, you will need to update OBS Studio to version 22+)