Need some help

My 3.5 weeks old has been throwing up for the past two days. It seems like he isn’t getting anything he’s taking in. I’m exclusively breastfeeding. Today I pumped and tried a bottle for the first time to see if would make a difference, but it didn’t. He just vomits everything back up once I’m burping him 😩 I don’t know what to do