start by not ignoring pinned post in this forum on posting OBS log from recording/streaming session
real-time video encoding is computationally demanding. that means you need a computer powerful enough to handle existing workload (games, source (video/audio) rendering, etc) plus real-time video encoding. a dedicated encoding chip (like on NVENC on GPU) can reduce workload on CPU by moving to alternate chip
1fps most likely means your computer is NOT up to the settings/workload you'd given it. so, make sure OBS settings are appropriate (start with auto-config option), and that your Operating System is optimized (possibly for an under-powered system), then do real-time hardware resource monitoring to make sure system isn't bottlenecking/overloaded
- what changes? settings? etc? it depends.. sorry