I play tennis.

I play tennis.

I can play tennis.

I can play tennis.

Adding can expresses ability. The form is subject + can + base verb.

RuleCorrectIncorrect
Use the base form after canHe can play tennis.He can plays tennis.
Make it negative with can'tI can't cook.I don't can cook.
Put Can first in a questionCan you swim?Do you can swim?

Do not add s to can or the verb, and do not add to. Do not use don't or do. Answer Yes, I can. / No, I can't.

Do and does are auxiliary verbs too. In Do you like music?, do is the auxiliary that forms a question, and the verb after it stays in the base form (× Does he plays tennis?). In I do my homework., do meaning “perform” is an ordinary verb.