I bought a new SSD, but since my computer had only one SSD slot, I removed my old SSD and inserted the new one. I installed Windows 10, then I installed Ubuntu, I set it to boot into Ubuntu from Easy BCD, but I turned off the boot selection menu, so the computer boots into Ubuntu as soon as it is turned on. I thought I could boot into Windows from the menu that appears(GRUB) at startup in Ubuntu, but when I try to boot into Windows it goes back to the Ubuntu boot menu.
I couldn't solve my problem elsewhere, so I wanted to open a new question.