How do I reload windows OS after replacing hard drive?

I have a virus on my computer and a faulty hard drive. I took it to the Geek Squad and they were no help. Can anyone point me in the right direction? This will be my first fix and i feel unprepared.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0