Is it a speaker or a piezo buzzer? if its a buzzer turn RB0 on for 200mS then off ( short beep ) Also you may want to put a transistor on the buzzer. Or if it's a speaker you'll need to emit a 8 - > 15khz pulse to drive the speaker. Set up a counter to toggle the pin for about 200mS.