help

its my hardcore world and i dont want it to end because of a stupid piglin that shot me (i had my gold helmet on)
What should i do in this situation?