How to repair this?

“Onlevelwasloaded was found on webcam behavior this message has been deprecated and will be removed in a later version of unity add a delegate to scenemanager .scene loaded instead to get notifications after scene loading has completed”?? Please help me

Instead of using Onlevelwasloaded(), add a delegate to SceneManager.sceneLoaded to get notifications after scene loading has completed.

    using UnityEngine.SceneManagement;

     void OnEnable() {
        SceneManager.sceneLoaded += OnSceneLoaded;
    }

    void OnDisable() {
        SceneManager.sceneLoaded -= OnSceneLoaded;
    }

    private void OnSceneLoaded(Scene scene, LoadSceneMode mode) {
 	//do stuff
    }