Depending on the way, Depending on how
Structure
Verb[stem] + ようによっては + Phrase
(A) ようによっては (B) is a phrase meaning that “(B) depends on the way you (A)” and is used when (B) changes depending on (A). よう is a noun meaning “the way/manner” that something appears or is done. In this expression, it generally follows the stem of verbs like 考える、見る、聞く、読む、やる and 使う。