Soft corals can be really tough to glue down, it can take several attempts (you’ll think you have it and then it’ll detach the next day), stony corals are generally fairly easy to glue. The trick is to use either the tip of the applicator or a tooth pick and work the glue into the spot on the coral that you’re putting the glue, make sure to use a fairly generous dab, and then when you stick it to the rock, kind of stick it and unstick it a couple times so the glue gets stringy, and then you sort of twist it on to the rock (by twist I mean just like 45°) and hold it down firmly for 20-30 seconds. Then after you’ve held it down and it’s stuck, fan some water on it with your hand to make sure it’s not wobbly and that it’s fully stuck (this also helps to cure any glue that hasn’t set). Once you get it down it’s pretty easy. Using superglue as opposed to epoxy looks nicer, IMO, but it can be easy to knock corals loose, so be careful when you’re working in the tank.