Vet gives tips on protecting pets