Hello you have several possibilities, but some will probably not be possible, the small size of the SSD is taken into account There is software, which allows you to copy the system disk (old HDD) to install it as the new SSD. But since the SSD is very small, you may not be able to. So you would have to install windows directly the simplest (if we can say so), if you have installed windows 10, you just have to create the microsoft media directly, and once the SSD is in place, install windows ..
https://www.microsoft.com/fr-fr/software-download/windows10 Once this is done, you install the HDD hard drive, format it to be able to use it (create the desired number of partitions) If you have an available sata port (data and power supply), and your hard drive can still work, connect the You can copy paste the desired documents, or use software to help you no particular example to give, see what would suit you best,
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".