gh12345,
Information you gave suggest that your main computer is having trouble. You need to give details about your computer. Make, Model and age. And whaich operating system.
Have you recently added any new programs?
A new game? A new program to optimize the computer?
Have you recently added new eternal devices? Such as a new printer?
Have you changed the about of memory?
Sometimes failures are not apparent by symptoms alone. A bad power supply could cause some parts of the computer to fail. That s rare, but does happen.