Torches are essential for light and preventing mob spawns. Craft them using 1 coal (or charcoal) and 1 stick. Place them liberally inside and around your shelter.
Minecraft
Lighting Your Shelter: Torches
Learn how to craft and place Minecraft torches using coal and sticks to illuminate your shelter and keep hostile mobs away from your base.