Which is correct spanish grammar.
Don't pay any attention to him. Or To him, pay no attention?
and how would you write it?
In Spanish you would say "No le pongas atención" or "no le hagas caso". There is a slight difference in meaning, but grammatically speaking, in each case you would put the "le" before the verb.