ご質問ありがとうございます。
「やらない方がいい」はYou/I shouldn't do thatまたはIt's best not to do that.です。
例文:I shouldn't swim when the waves are rough.
例文:I’m not good at swimming, so it’s best not to go when the waves are rough.
ご参考になれば幸いです。
I'm not a very strong swimmer. I better not go in at all.
この場合、次のような言い方ができますよ。
A: The waves are a little rough today. You should get in a little practice before you go in the deeper water.
「今日は波がちょっと荒いので、深いところに行く前に少し練習した方が良い」
B: I'm not a very strong swimmer. I better not go in at all.
「あまり泳ぎが得意でないので、やめておいた方が良いと思う」
ご参考まで!