How do i fix this accesory problem?

I want to rotate this accessory to face in front instead of the side, but whenever i parent it to a humanoid it faces sideways and even if i rotate it normally if i take the accesory out of the humanoid and back in, it just goes sideways again, can anyone help on how i can actually rotate it?

rotate the attachment hope this helped