Too many accidentals

I want to get rid of these accidentals. How to do it?

You will have to hide each one manually. Dorico doesn’t have a setting for this kind of cross-relation within one instrument. I made myself a keyboard shortcut for “Toggle accidental visibility”.

The command you want to set a shortcut for is “toggle accidental visibility.” I long ago set it to Ctrl-1 and use it constantly. It makes short work of this sort of thing.