[v1 stem] + 方 [v5 ます-stem] + 方 [する → し] + 方 [来る → 来(き)] + 方
The suffix ほう方 (かた) attaches to a verb stem to create a noun meaning "the way of doing ~" or "how to do ~". The result is always a noun, so it can be followed by particles like は, が, を, etc.
Remove the ます from the ます-form of a verb and add ほう方:
One of the most common uses is asking how to do something with 〜~かた方 + を + 教えてください or 〜~かた方 + が + 分かりません.
You can describe or comment on someone's way of doing something.
Since 〜~かた方 creates a noun, you can use の before it to specify whose way or what kind of way.
For する verbs (noun + する), the pattern is typically noun + の + し方 rather than attaching 方 directly.