Thank you for reminding me.

When people tell you about something important that you had forgotten, you say "Thank you for reminding me."

In a more casual situation, you can also say:

Thanks for reminding me.

This phrase appears in these lessons: