Depends on the finish, but when in doubt a soft damp cloth will get the job done.
You can buy guitar polish, you can use these if your guitar has a gloss finish, don’t use it on a matte finish.
A soft bristled brush can be used to get at the dust in the hard to reach places around the bridge, etc.
For the fretboard, if it’s maple, it will have a finish on top, guitar polish will work fine. If it is rosewood or ebony, a damp cloth (not wet), be sure to wipe up any excess water, one or twice a year treat with a touch of oil.