As others have stated, it's entirely up to the DM. Certain campaign settings presume certain things about the gods, but those differ from one to the next. Forgotten Realms makes them out to be fairly mortal, and killable in a fight, whereas the existence of Eberron's gods isn't even known for...