Medical researchers have yet to find any predictable patterns to prove that this allergy is genetic. Therefore, you are not required to avoid penicillin if any of your family members are allergic to it.