Depends on what kind of dog you are talking about. If it is a kind of inherently dangerous, you have strict liability. If is other kinds, you have negligence liability, which means you have reasonable responsibility (including reasonable warning) not to harm others.