Accidentals (such as sharps, flats, and naturals) appear automatically if you’ve entered the music from a MIDI keyboard.
Hiding and showing accidentals
Adding or changing an accidental
Correcting accidentals on tied notes
Moving an accidental