When my hair gets longer, it starts to bug me and I have to go to the barber.
この場合、次のような言い方ができますよ。
ーWhen my hair gets longer, it starts to bug me and I have to go to the barber.
「髪が伸びて来ると、気になって床屋に行かないといけない」
to bug で「気になる」と言えます。
後半部分は次のようにも言えます。
ーIt starts to get in my head and I need to have my hair cut.
「気になって髪を切ってもらわないといけない」
to get in one's head でも「気になる」と言えます。
ご参考まで!