You shouldn't do/have acupuncture when you're hungry.
この場合、次のような言い方ができますよ。
ーYou shouldn't do/have acupuncture when you're hungry.
「空腹の時に針を受けてはいけない」
針治療を受けることは、to do acupuncture や to have acupuncture と言えます。
後半部分は次のようにも言えます。
if you haven't eaten anything.
「何も食べていないなら」=「空腹なら」
ご参考まで!