Flat nipples

My 1 week old newborn is having a rough time latching on. He sucks a few times but gets frustrated easily. Pumping is exhausting but I want him to have breast milk. Does anyone have any tips?