* He barks at her. (This assumes the dog is male and the cat is female.)
* It barks at it. (This is the most neutral option, using "it" for both animals.)
* She barks at him. (This assumes the dog is female and the cat is male.)
You can also use "The dog barks at the cat" if you want to avoid using pronouns altogether.