How do you use an in front of vowel?

You use an like this" I would love an apple.