Use “Die Person hat einen Bart.” for “The person has a beard.” Bart is masculine, so use einen.