"O" is used before consonant, and "об" before vowel.
"Обо" you can meet in some collocations such as "обо всем", "обо мне", "обо всех" etc.