We always use the base form of the verb after can / can’t.
[latex]\color{limegreen}{\checkmark}[/latex] He can swim, but he can’t surf. ✗ He can swam, but he can’t to surf.
Choose the correct verb form.