My daughter is 7... and she had an inguinal hernia (on her right side)... which she was probably born with per the Doctor, but was only presenting visible symptoms & pain only recently a few months ago.
She consequently had surgery for it only a few months ago. Laproscopic surgery. It was fine. She was under general anesthesia... but for children, it is VERY well customized for the child. A Pediatric Anesthesiologist does it. The surgical team will explain everything to you.
My daughter's surgery was performed by a Pediatric Surgeon who specializes in hernias in children. My daughter's surgery took 1 hour.... and recovery afterward for as long as the child needs to. We had to be at the hospital at 5:30am... then the surgery was at 7:30am... and so there is some waiting around/prep. By the time we got to go home, it was about 12:30-1:00pm. My daughter then had to rest... and stay off her feet, NO heavy lifting. For her and as is typical in an older child... post-op recovery was for 6 weeks... and during that time she had to have a reduction in activities/strain in order for the incision and sutures to heal properly... and not tear.
My daughter was fine with everything and afterward. She understood clearly what was happening and why she had to have the surgery. She actually told us she was glad she had the surgery... and that her "bump" and pain was gone now.
Inguinal Hernias are common, and in children.
During my daughter's surgery, and per our choice, the Surgeon ALSO looked on the other side, to see if there was a hernia there also. He said that sometimes, if there is an inguinal hernia on one side, there may be a 50-50 chance of one on the other side as well. Luckily, my daughter did not have a hernia/opening/hole on the other side. If there had been a hernia on the other side, then we okayed the Surgeon to fix that one too at the same time. Versus, he said that sometimes the parents opt NOT to look at the other side for a possible hernia there... and then 1 year later... another hernia presents itself... and then the child has to have another surgery.
Afterward as far as pain... my daughter's Surgeon only recommended Motrin. No prescribed pain meds were needed. In her case. My daughter did not experience a lot of pain after, nor during her 6-week recovery post-op. But, it was of course tender and she needed assistance to do certain things and even to walk and get up etc. But yes, she did have pain... not saying she didn't... but her pain tolerance is high. So this is just her.
She also could not bathe for I think 3 days after, to prevent infection. Her incision... was closed with a plastic type of thing (I don't know the name), that "seals" the opening/surgery cut.
Before the surgery, she could not eat anything after 8:00pm the night before the surgery. Only water. So, since your baby is only 5 weeks old and still nursing/feeding... then ask the Surgeon what you need to do...
Ask the Surgeon and surgical team/Anesthesiologist any questions you have. Again, ours was Pediatric specialists..and prior to the procedure, the entire team including the nurses, meets with you.
During the Surgery, the Doctor allows 1 parent in the operating room, while they put my daughter under.... anesthesia. First they gave her a laughing gas... then when she fell asleep with that, they had me leave the Operating room, then the Anesthesiologist proceeded with administering the General anesthesia. Then, the surgery took 1 hour.
After the surgery, we could accompany my daughter to the recovery room... and stay with her there whole time. Until SHE felt fine enough to go home. Until then, the nurse team monitors her... and the Surgeon does his visit as well.
There are various ways to close up the Hernia. In my daughter's case, he just sutured it up... closing the hole and the various layers of muscle, tissue etc. In some cases, they use a "mesh" to close the hole too. But this is used more in adults.
So, ask your Surgeon... what method will be used for your baby.
In some cases... a hernia can recur. But that is not common. And sometimes, an inguinal hernia can occur on the other side later. So ask the Surgeon/Doctor about potential scenarios....
All the best,
Susan