I am bf my second son having fed my first for a year. both are very different so rest assured that just because things didn't go well the first time doesn't mean the same will happen the next time.
Your milk should take 3 or 4 days to come in depending on the kind of birth you end up having. With a c section it can take longer for some. babies do fine on the colostrum and it is best not to suppliment them wiht formular as it can cause nipple confusion in this early stage and end up with them rejecting the breast completely. Feed baby in this very early stage as often as they seem to want to. don't worry int he first week about feeding them to sleep as there is nothing that you can do about it. Just feed when they cry if they seem interested. Try not to let baby go for more than 3 or 4 hours int he day between feeds and allow them to feed as often as they wish to during the night at first.
You will find that when your milk comes in you will feel very engorged at first. Feed as often as baby seems to want. Dont worry if it is only a short time between feeds at first, you can space them out once feeding is established. If you are in pain, try hand expressing in the shower or expressing off a bit with a pup to make you comfortable. remember the more you feed or express the more milk you will produce. Avoid supplimenting with a bottle, even of ebm in the first 4 weeks if you can help it.
you shouldn't suffer with much pain in the nipples if you latch baby on right, however this is a skill you can only learn by practice for you and baby so the likelyhood is that you will be sore for a while at first. The way to deal with it, is to ensure good positioning and latching on. One f the best positions is to have baby facing you lying across you so that his or her tummy is right up against yours. Don't let baby roll onto his or her back so that the head is turned to the side to feed as this helps cause soreness. baby should be nose to nipple and then the head should be tipped back so that the mouth opens really wide point the nipple to the back of the roof of the mouth and bring baby to you rather than you to baby. the babys mouth should take in the whole areola not just the nipple tip. the bottom lip should be curled back and you should see the jaw working to massage the milk. If babies cheeks suck in whilst feeding you are latched incorrectly. I flatched in correctly don't pull baby off, put a finger int he corner of the mouth to break the vacuum and then re position. sometimes baby repositions him or herself wrongly during a feed in which case reposition, don't allow baby to feed inteh wrong position. This will take time at first so don't dispair if you ahve to keep repositioning at first because it will come naturally after a short time andyou will suddenly realise you aren't even thinking baout it any more. If you do become sore, whilst you are waiting for your nipples to toughen up use Lasinoe cream as you can feed baby wihout wahing it off. Or use a bit of breast milk rubbed in to the nipples - that was the best thing of all i found, it gave instant relief to the soreness and helped with the healing.
I practiced as much of this as possible with a doll before ds1 was born and i am so glad i did, it really helped me to know what i was supposed to be doing.
This sounds like loads to take in i know but all of it will become natural and after a couple of weeks you will probably find things settle down really nicely and you can start thinking about spacing feeds and such like. If you are really determined to be successful state on your birth plan that you want baby put to the breast immediatley after delivery and that you want baby by your bed, not int he nursery. also state onthe plan that baby is not to be given formula without your express permission to give you the best chance of baby learning the ropes without confusion. if there is a chance that well meaning reletives will give bottles to help you out without asking then preempt this and explain that you want ot breast feed and not to give formula even if you are sleeping, but to wake you and bring baby to your bed if you are resting, then remove baby for you after if you still need a break.
Good luck wiht this the second time around, i really hope it works out for you. the most important thing of all though is that if you struggle even over the smallest thing ask for help. and if it all goes wrong, which i am sure it won't, don't beat yourslef up about it but just do what is best for you and your family. if you need any help feel free to pm me as i check my mail daily, and post lost on the boards as there are loads of really great ladies here with so much knowledge and experince and can really help you out.
good luck for the birth