You need to follow some things to upgrade from windows 7 to windows 10. you should check that your device has enough space. cause the device requires at least 16 GB of free space to upgrade.
this can be beneficial for you if you download and install any available updates in Windows Update, including software updates, hardware updates, and some third-party drivers.
Make sure that your device is free from third-party drivers and download any updates.
You should unplug every extra hardware and remove all external storage devices such as headphones and drives, docks, and other hardware you might have plugged into your device that isn’t needed for basic functionality.
You should remove third-party security software. Cause that may cause you difficulties upgrading windows 10.