A warm welcome to Mac-Forums.
Of course, we cannot really know what is causing your problem without knowing what additions, extensions, apps and the like you may have added/altered recently.
But what I can say with confidence is get rid of any AV software and any "cleaning your Mac" type software. There are no viruses in the wild for Macs; AV software not only slows your Mac, hogs the CPU, but can actually interrupt or block legitimate updates from Apple. It is pointless.
Malware is a different matter. Download Malwarebytes Anti-malware app for the Mac (free) and run it. Browser extensions such as Ghostery and Adblock Plus block tracking and Ads, respectively.
There is only one app we recommend regularly for "servicing" your Mac and that is the free OnyX - downloadable from:
https://www.titanium-software.fr/en/onyx.html
Make sure you download the version specific to your Mac. (10.9.5). Install, select Automation, use the default settings as checked, and Execute.
Please post back if this helps, or otherwise.
Ian