The phrase "hold on" means "wait". You tell someone to "hold on" when you want them to wait for a short time. In the example above, "Hold on" means to wait before doing anything on the computer, because the speaker thinks they might be able to fix it.
Since telling someone "Wait!" is very direct, you usually only say that when it's an emergency, when you're angry, or when you're pretending to be angry.