in a nutshell: katakana is for foreign words mostly, like names, locations, products, company names and other random foreign (usually english) words that are thrown into japanese. hiragana is used for japanese words and grammar and usually accompanies kanji.
So if it's not a Japanese word, use katakana. Otherwise, hiragana or a combination of hiragana and kanji is proper.