Fight phantoms in Minecraft PE?

gu
4

Hi, I've just been out in Minecraft PE Survival and I'm collecting my levels on my XP farm. Since I haven't slept for about 1 hour and 30 minutes, a phantom attacked me. I have no armor, I'm in a village, it is night and I have a diamond sword. Do you have any tips what I can do to prevent me from dying? (I'm acknowledged because he took 4.5 hearts from me)

Ca

Sleep?

Hu

Just sleep or wait until day comes

gu

But the phantom is about 3 blocks in front of me

Hu

Then run away and hide somewhere where it can't get to you