The difference is in the tense. The first is the simple past, it means that at some point in the past you forgot it. The second is present perfect, which means that you forgot in the past and are continuing to have forgotten up to now.