The simple present expresses a statement of fact:
Teacher: Max, do you understand?
Max: Yes. I understand.
The simple past expresses an event that happened before now:
Teacher: Max, did you understand the explanation I gave two minutes ago?
Max: Yes. I understood it then, and I still understand it now.
Hope that helps.