Having issue with Metasploit

How come when I run through the walk throughs the exploits do not work