I feel like a bad mom

My baby is 2 days old and I can't get a good latch my nipple are cracked and hurt so bad am scared to even try to feed her and u cry because I can't feed her the way I want and I have been giving her formula for the past last 3 feeding..I feel so horrible