The animals pronoun i ask

Hello everyone
I ask about animals
when i use it pronoun use he ,she or always use “it”
for example the dog is very cute " it is very smart or he is very smart "
thank you