Is you t illegal to get almost get into a car accident and not stop to see if the other driver is okay?

Please edit your question to be somewhat succinct.