These words have the same meaning but behave differently. We forbid someone to do something, but we prohibit someone from doing something. It is wrong to confuse the two. With a simple object, however, either verb may be used: "The police forbade demonstrations." "The police prohibited demonstrations."