Sound problem when record screen

When I record my screen , I got shrill sounds during that time . I tried many softwares like RecordMyDesktop, OBS but they can’t resolve that . I wonder that did OS or my audio card cause that problem ?