prefer

Hello!

In the sentence:‘I prefer go to the cinema instead of watching television.’-the correct sentence is in fact 'I prefer to go to the cinema instead of watching television.'or ‘I prefer going to the cinema instead of watching television.’?

-Who can give me the clue?
Thank you for your time!

Either of your corrections are fine.