If one attacks you, you have 2 options:
1. Kill it and any that come to its aid.
2. Run closer to your bed or put a bed down or look at your location so you know where to walk back to since these things are superior to you in every god damn physical way.