So frustrating!

My baby is 2 weeks old and has been doing good with breastfeeding until now, she's been fussy all day and she eats for 5 min and then starts crying and I offer her my boob and she takes it but then starts crying , I don't know what to do anymore I'm getting so frustrated that I'm going to have to give up and formula feed her