Allergy pills

Is it safe to take allergy pills while pregnant? (I’m 37 weeks) if so, which one??