Give the dog lots of treats and attention to keep him focused on you. Play with the dog and practice obedience commands in the presence of the cat in the carrier. If the dog lunges towards the cat or pays attention to the cat, firmly say no and insert your body between the cat and the dog to regain his attention.