Looks like it had a rough trip tumbling around in the bag. If it smells bad it is dead. But just start the acclimation process to see how it reacts, I would not dip it just yet, maybe just acclimate it, is stressed enough. This is what I would do.
Maybe iodine dip, I am not sure with a coral that looks this stressed.