Japanese on Mac

Can someone please help me. I would like to type in Romaji and it automatically converts to hiragana…