The correct option is B an
Indefinite articles are used before unspecific, singular nouns. We use 'a' before nouns that begin with a consonant sound and 'an' before nouns that begin with a vowel sound. Since 'apple' here refers to an unspecific one and begins with a vowel sound, we need to use the indefinite article 'an'.