It looks like a bubble coral. If it is, and you want to keep it, keep it away from strong lights and heavy water movement. They're hard to keep and aggressive so keep it away from other corals. To survive, it needs to be fed.
But I could be wrong. I'm not an expert on corals. I just looked it up.
Always learning.