if its 3D then it would be a good idea to use something called a skysphere. What this is is a large sphere that is textured to represent the sky that the player is in. In your case you would need a star texture. In order to set this up in DB, you could import a premade model, or you could make it inside DB, like this:
`set up
sync on:sync rate 60
autocam off
set camera range 1,1000000
hide mouse
`load texture
load image "Star Field.bmp",1
`make the skysphere
make object sphere 1,10
`make it bigger
scale object 1,1000000,1000000,1000000
texture object 1,1
`turn off object culling so that you can see it
set object cull 1,0
position object 1,0,0,0
position camera 0,0,0
do
`get camera angles and mouse move for simple mouse look
CaX#=camera angle x()
CaY#=camera angle y()
CaZ#=camera angle z()
XRotate#=mousemovey()/10
YRotate#=mousemovex()/10
`rotate camera
rotate camera CaX#+XRotate#,CaY#+YRotate#,CaZ#
`move camera
if mouseclick()=1 then move camera 50
if mouseclick()=2 then move camera -50
sync
loop
If you are using 2D then you should check out these tutorials(No. 8 & 9):
http://developer.thegamecreators.com/?f=dbpro_tutorials
Part of solving the problem is actually noticing that the problem is there in the first place