How to distinguish the "ing" form of a verb from "s" or "es"

How to distinguish the "ing" form of a verb from "s" or "es"

When the verb is used after the third person singular, it adds s or es, which usually ends with s x ch sh, and the others directly add s
Do does does does does does does does does does does does does does does does does does does does does does does does the verb restores the original form
Did is a mirror, as long as it appears, the verb will be restored
For example, she likes computers
she don’t like computers.