I need someone to talk with him -her
Correction:
I need someone to talk with.
We don't need to write him or her.
Thanks,
Claudia
(Professional italki English teacher)