In addition to what Tel mentions you also need to use a remote switch as pushing the shutter button can move the camera as well. A higher ISO helps too. It takes practice to get the results you want, so keep at it, practice, practice and more practice.
BTW, which DSLR did you get?
JS