Meaning trap
fancy
feel like having or doing
to feel that you would like something or would like to do something
collocationB1core

Don't mix these meanings
Same phrase, different job.
feel like having or doing
to feel that you would like something or would like to do something
Hear it in context
Notice where the phrase sounds natural.
Do you fancy a cup of tea?
I don't really fancy going out tonight, to be honest.
Fix the pattern
One small grammar move makes it sound right.
Not: Do you fancy to go out tonight?
Say: Do you fancy going out tonight?
'Fancy' is followed by -ing or a noun, never 'to + verb'.