Are you on macOS? Is it the most recent version of macOS?
You can optimize your PC with CCleaner for example... Or download Avast or Malwarebytes. Virus and garbage on your PC slows down your PC a lot. Also updating to the most recent version of macOS it's not a bad idea.