Here's the rule:
The preposition
a is used before a noun when the noun is both a direct object of a verb and the noun is a person or is personified.
In your example,
hermano is not the direct object of a verb, so the rule doesn't apply.
See also
Personal a