You can use your action to make a Strength (Athletics) or Dexterity (Acrobatics) check against the grapple's Escape DC.

On a successful check, you end the Grappled condition on yourself.