If you really want algs for specific parity cases, here they are:
Opposite edges: Rw2 R2 U2 Rw2 R2 Uw2 Rw2 R2 Uw2(Swaps front edge and back edge)
Adjacent edges: R U R' U' Rw2 R2 U2 Rw2 R2 Uw2 Rw2 R2 Uw2 U' R U' R'(Swaps front and right edges)
Adjacent corners: R' U' F' R U R' U' R' F R2 U' R' U' R U R' U R Rw2 R2 U2 Rw2 R2 Uw2 Rw2 R2 Uw2(Swaps back right and front right corners)
Opposite corners: R U R' U R U R' F' R U R' U' R' F R2 U' R' U2 R U' R' U Rw2 R2 U2 Rw2 R2 Uw2 Rw2 R2 Uw2(Swaps front left and back right corners)
This isn't the way I would recommend dealing with parity, but if you really want to, you can use these algorithms.