How fix the accessorys

Hello.
How can I make the accessories adapt to the type and size of the player, recently the hats began to bug depending on the player’s body, but it doesn’t happen with all of them, only with the biggest ones, like these.