For instance, if you got a hit by people in the street accidentally, you might say "算了算了“. It means you think it doesn't matter or you don't care about this offence.
"忘了" means "forget", basically we don't repeat "忘了忘了”to express you forget sth. However, it can show that you forget sth with impatience. eg."Did you remember the homework?""Of course not, I'm not the good boy(忘了忘了,我又不是乖乖仔)"