Hi, R.! Don't give up.
#1, Find a comfortable position that won't aggravate your stitches or staples, so that at least healing from the surgery won't be a problem. You can always sit up and put a pillow or cushion in between your baby and your stomach until it feels better. Maybe sitting up with most of the baby's weight against your leg would be comfortable, or maybe you need to lie on your side and let the bed take most of the weight, at least for now. As long as you are still touching him and supporting his body while he nurses, you will still give him the closeness that babies need. Don't be afraid to find the best position for YOU, no matter what anyone else says.
#2, Breastfeeding hurts your nipples for the first couple of weeks. There is no way around that. Try to make sure the baby's weight is supported so that he's not pulling on your breast and nipple. In other words, position yourselves so that he's not stretching out your nipple while he's nursing. Otherwise, it hurts worse. In between feedings, put warm compresses on your breasts because this helps the soreness, and it also helps increase milk production. Also, rub a natural, edible oil into your nipples such as olive oil, pure Vitamin E, or light cooking oil to soothe them. Wash them off with warm water after baby's done nursing so that any leftover milk or baby saliva won't irritate your nipples. There's a wonderful peanut oil-based cream that works wonders, but you're supposed to wash it off before baby nurses. That can be really inconvenient.
Above all, be patient with yourself. Breastfeeding is natural, and you will get the hang of it if you stick with it. If they are still around, the La Leche League can offer advice by Internet or through books on breastfeeding, and they might even have a group that you can meet with locally.
Be aware, though, that they are pretty radical about breastfeeding. When I had my son 28 years ago, their philosophy was that if you don't do it exactly the way they tell you to do it, then you're doing it wrong and you should stop breastfeeding and just bottle-feed. I managed to breastfeed my 10-pound baby boy just fine without following anyone else's rules, just a few common sense principles like the ones I wrote above. I even gave my son relief bottles (they are completely against that!) because his birth was pvery, very hard on my body, and I needed a great deal of rest.
There is no absolute right or wrong with breastfeeding. The main thing is to relax, enjoy this stage of your baby's life, bond with him, experience the miracle of feeding your baby from your very own breasts, and keep an open mind. Every baby will nurse a little differently; amazingly, their personalities first begin to emerge in their suckling styles. Some of them want to be positioned in a certain way. Some don't like being on one side of their body while nursing. Some will prefer one breast and not nurse as well on the other one. Don't miss these little details, because they are so precious!
If you can get through the first couple of weeks where your breasts get used to this new function, then the rest becomes much easier.
I hope this is helpful.
Prayers & blessings,
Syl