Now Download Below Write Tools :
Now Extract the DVWA folder under htdocs or www folder. after extracting Start xamp or wamp server. Now Open your any browser and type IP "127.0.0.1" when you do it then Index open where a file present which name dvwa , click on that , see below pic..
Now click on "Click here to setup the database." to create database for dvwa. see below pic..
Thank You For Visiting.....