The shepards saw a star in the east which guided them and brought great light to the Earth. The star then continued to shine "both day and night" to guide the shepards and give great light for the Earth.
The magi (aka Wise Men) saw the star. See Matthew chapter 2. The Bible does not mention the shepherds seeing the star. See Luke chapter 2.