Breastfeeding the entire night

How do you deal when your one week newborn in the evening every 15-30min wants to nurse? This happens in the evening until 3am. What am I doing wrong?

My doctor told me to keep her occupied and get her a pacifier, but so early?

After she's breastfed and her eyes are open, she searches for the breast. I'm overwhelmed by the constant sore nipples after the entire night breastfeeding.