It's pronounced "wa" only when used as the topic marker, for example ”あなたは" ("as for you", which means "I'm about to say something that has you as the topic") or "こんばんは" ("good evening" but literally "as for this evening", although it's probably uncommon to literally mean "I'm about to say something that has this evening as the topic").
All other times it's pronounced "ha".