Why am I not getting wither effect?

Ive just beaten the wither but I didn't get the wither effect at all, I got it from the wither skeletons but not the skulls. Im not a particularly good player so I did get hit quite a bit, is this a glitch or a common occurrence???