If you're using Mac OS 9 or earlier, check whether there's a flag at the right end of your menu bar; if so, click it and select the correct keyboard layout from the menu that appears. If not, open the Keyboard control panel and turn on the correct keyboard layout.
In Mac OS X, you can change the active and current keyboard layouts from the Input Menu section of the International pane of System Preferences; as with Mac OS 9, you can change the active keyboard layout from the menu with the flag icon if it appears.
(9393)