The phrase "don't get ahead of the dogs" is not a standard idiom, but likely a variation of biblical quotes or a literal warning about dog behavior. Depending on context, it could mean
to be cautious with those who are hostile to your beliefs, as in the biblical phrase "Do not give what is holy to the dogs," or to avoid letting dogs get in front of you on a walk to prevent pulling or distractions.