Surgery isn't used to treat sexual problems unless pain is caused by endometriosis or another medical condition.
There are advertised procedures, such as "vaginal rejuvenation" surgeries, that promise to increase sexual pleasure. But such surgeries may not provide any benefit. And they may cause harm. They also may be costly and painful.