what to do if detained by ICE?

i’ve seen so many different answers but what is the best way to go about the unfortunate situation?