Default Clean Flash LG G2

Hello, can any 1 help me on how to clean flash my LG G2 From T-Mobile?