Today a window appeared asking me to use a program MacKeeper to clean my Mac. I have not done anything with this window as my Mac is brand new and does not need cleaning. Is this something that Apple recommends? If not, what can I do to prevent these type windows from appearing again?
Avoid this software like the plague. Aside from not being necessary, it is very invasive and difficult to uninstall. To avoid pop-ups in your browser open your browser's preferences and turn on the pop-up blocker.