Stronger phantoms the less you sleep, absorption buffs for enduring them. Shields will stun them, and fire will remove them.
update to 1.21.5 (hopefully stays that way)