3 day old suddenly won’t latch

His chin is really red, after I gave him a pacifier. I was trying to help him and I get some sleep. And when he woke up his chin looks rashy.

I tried to breastfeed, and he’s putting his mouth over to latch on, but he won’t suction to get the milk out and just shakes his head at it and getting frustrated and he’s crying.

I messed up and should have never given him the pacifier and I don’t know what to do now.