1. What you have to do is to do your best.

2. What you have to do is do your best.

(Which one is right? Do we have to use 'to do' or 'do'? Are both OK?)

The second is better, although the first is not wrong.