Yes, allergies can be genetic. Allergies form when a person's immune system becomes overly sensitive to a specific substance, such as pollen, pet dander, dust mites, or certain foods. When a person is exposed to the allergen, the immune system overreacts and releases chemicals, such as histamine, which cause the allergic symptoms.
There is no cure for allergies, but there are treatments that can help reduce or eliminate symptoms. These include avoiding the allergen, taking medications, and undergoing immunotherapy treatments.