when necessary
if necessary
when needed
as needed
if required
The government, when necessary, has recourse to the armed forces.
When necessary, instinct is the most reliable resource you can fall back on.

Create PNGs with pinyin, highlight character parts or remove strokes
Open the tool →
Choose character parts and animate their colors, together or in stroke order
Open the tool →
Picture and word Bingo for your class
Open the tool →
Turn a Chinese character or sentence into a GIF or MP4
Open the tool →必要时 (bì yào shí) means “when necessary, if necessary, when needed, as needed”.
必要时 is pronounced bì yào shí in Mandarin Chinese.
“when necessary” is 必要时 (bì yào shí) in Chinese.
This page has 2 example sentences using 必要时, each with pinyin and an English translation.