*对了* = Correct! / Oh, that's right, ... (when one suddenly remembers sth one wanted to mention) / Oh, by the way, ...
However, the intonation patterns are important here. A few more:
Yeah! Hey, I was going to say...
Yeah! And I just remembered....
算了吧 = Just forget it, OK?