To tame it try to get it out of the cave and make it go in a pen but do it when it's day unless rip you and your dino

More Megalosaurus Taming & KO Tips