Use rubberband tie the mushroom to a rock and wait until it reattached. You can use a plastic cup put some coral chip or chip off rock then wait again.
Bro have you check your water parameter amonia, n02 and no3 or did change the water before adding any fish or corals. Oh how long did you cycle the tank.