What you're missing is your ability to fight back. 25 days into the game you should already have science machine tier tools, which means you should be able to easily fend off relatively weak enemies like hounds with ease, even in large numbers.
For your first few hound attack, you can use:
- Log suit
- Football helmet
With these, you can confidently take on the hounds even if your dodging skills are imperfect. Once you get some hound teeth, you can start making traps like tooth traps, which can help deal with later attacks and other enemies.
Other strategies for dealing with hounds include drawing them to other neutral mobs, like beefalos, pigs, and pacified treeguards. When the hound pauses to bark after attacking you, he may switch to any of these targets, which would likely result in the hound quickly being beaten to a pulp. Note that running away is not a very good option, as hounds are faster than a player with no movement aids, like roads or a cane.