Changing nameservers can take 24-72 hours, but typically much shorter.
There are a number of things that can mean the nameservers don’t get updated, such as not entering them correctly, not changing them with your registrar, not disabling DNSSEC before migrating etc.