What do I do when I get an error message when I boot that says "memory size mismatch"?

You should be prompted to enter the Setup menu or system BIOS. Enter the BIOS, then immediately save changes and exit (usually by using the F10 key). That should solve the problem.