When you finish with your computer shut it down in the proper way.
Go to the Windows Start button
Look for the arrow that points to the right and shut down or restart in the correct way.
Do not just keep your finger on the power button
On the Mac go to the Apple symbol in the top left hand side , click on it and select Shutdown