A small white bug

Sam
I got up this morning and saw a small fly like thing, white in color making its way across my baby's crib linen. I got scared and quickly pushed it away. I am not sure what it was. Didn't look like a termite.. How do I avoid these things from getting in ? Any ideas?