Just a question

This is probably gonna sound stupid but my dad and I were talking and we both weren't quite sure about this but how do women get their tubs tied or "fixed" so to speak like do they cut you open like a c section or what? I'm confused by it all honestly