Independence

Does anyone know how to become legally independent? Or has anyone ever gone through the trial and everything to become legalling independent? If so could you explain it to me and how/why it worked out/ didn't work out?Asking for a friend.