Most animals aren't geniuses. If you show anger or use physical punishment for something they did hours ago, they may not link your reaction to their action. Instead of fearing you, they should correct their behavior. Say a firm “no” instead of physical discipline.