Making a note sharp or flat

Can anyone please tell me how to make a note sharp or flat!??!!?

Hold shift while placing a note for a flat, and ctrl for a sharp.