Enchant creature or enchantment
Enchanted permanent is an enchantment and loses all other card types. (It still has its abilities, but it's no longer a creature.)
Enchantmentize may enchant a permanent that is only temporarily a creature, such as a Vehicle. If this happens, Enchantmentize’s effect causes the enchanted permanent to remain an enchantment even after the temporary effect expires.
The enchanted permanent keeps any abilities it has.
The enchanted permanent loses any subtypes associated with the card types it lost. It keeps any supertypes, such as legendary.