I’m five days pp, can i start breast feeding?

I tried breast feeding the first two days but babies latch wasn’t the best so it made my nipples sore. I’ve been giving her formula but I’d like to try again. Is it unlikely I’ll produce milk now or can i start up again?