Take the question word, e. g. だれ and add も and use with negative verb to say “nobody” etc.
Take the question word, e. g. だれ and add でも and use with positive verb to say “anybody” etc.
だれ = who
だれも = nobody/not anybody. だれも来ませんでした = nobody came
だれでも = anybody/anyone. だれでもできます = anyone can do it
なに = what
なにも = nothing/not anything. I don’t eat anything = nanimo tabemasen
なんでも= anything
どこ = where
どこも = nowhere/not anywhere. I didn’t go anywhere = dokomo ikimasendeshita
どこでも = anywhere. どこでもいいです = anywhere ist fine
いつ = when
Only with でも: いつでも = anytime
Not with いつ (いつも = always)