Protection from Evil and Good states that it protects from aberrations, celestials, elementals, fey, fiends, and undead.
What category do Gods fall into? Are they their own category?
The origin of this question is that our characters in a recent published adventure (spoiler below) have had an unfortunate interaction with Gods:
In Tomb of Annihilation, different gods possess each of our characters as we pick up magical items. Protection from Good and Evil states that it prevents possession. We are wondering what class to choose to protect against possession again. As requested in comments below, the possessions occur in the Temple of the Nine Gods. Additionally, the possessions appear to not necessarily be beneficial. One God, Wongo, for example, causes the PC to "act without concern for the well-being of others.” Another formerly brave PC we noticed is now acting cowardly.
Answerers, thank you for your liberal use of spoiler markers. It has helped avoid learning too much about the adventure but still understand how the particular spells mentioned might interact with Gods.