Board Thread:Off Topic/@comment-14027812-20130914212156

So, i learned this crap in english class about two years ago, and since 99% of my english comes from games and english education in my country sucks, it became forgotten.So i'm gonna ask it again.

What is the rule to use "a" or "an"? 