Which one is the right in use?

Which one is the right in use?
To talk him is of no good
It’s no use talking to him
It’s of no use how talking to him
It is no good of to talk to him