By paying a priest enough money...
This makes you able to marry in the Catholic church,according to the rules you must never have had sex with your partner to get an annulment,or as others have statement give a large sum to the Catholic church
A common misconception. My daughter's annulment cost about $200 and those fees were for the paperwork and the time of a church lawyer to help her through the process.