Ensouled heads are obtained by casting the Reanimate spell on specific NPC monsters using the Arceuus spellbook. When you defeat the reanimated creature, it will drop the ensouled head as an item. The availability of ensouled heads varies depending on the monster's type and combat level.