Indicates the way or method of doing something; 'how to', 'the way of'.
Long explanation:
The ~方 grammar point is used to express the way or method of doing something, similar to 'how to' or 'the way of' in English. It can be attached to the stem of a verb to form a noun that indicates the method of doing the action.