Attach the back cover again and tighten the screws. I'd suggest to tighten them diagonally which means start with the one on the top left and on the bottom right, then the one on the top right and bottom left and so on.
If everything went fine, your BIOS/EFI should recognize your new SSD now. Congratulations, you fixed it! :)