"Getting out of" doing something means avoiding a responsibility that you don't want to do:
I was able to get out of taking the final exam because I had a good grade up to that point and perfect attendance.
A: What are you doing on the 28th?
B: I've got a wedding I'm supposed to go to that weekend. I wish I could get out of it, but everyone I work with is going.