Go to search bar and Type Edit power plan and click on it.
Go to advanced setting and select High performance
Click on processor power management
Expand the minimum state Should be zero
And the maximum processor state should be always hundred so here we just have to type hundred percent
Click on apply button then ok