つけると

if you attach

→ つける
phrase Rare #21,097
if you attach つける means “to attach” or “to put on”; と marks a condition and can also mean “when.”
JA: このライトを壁につけると、部屋が明るくなる。
EN: If you attach this light to the wall, the room will get brighter.

左の耳にペンダントと小さな鈴をつけるといいですね

It would be nice to wear a pendant and a small bell on your left ear.

— ライフ・イズ・ビューティフル (1997)