There are many expressions commonly used in English to express similarity.
There is no magic rule to help you remember them. You just have to learn them. Sorry!
Take a look at the examples below.
Like a broken record.
If someone sounds like a broken record, they repeat themselves over and over again.
E.g. Mum! Stop telling me to clean my room. You sound like a broken record!
Like a cat on hot bricks.
If someone is like a cat on hot bricks they are behaving in a restless or nervous way.
E.g. She was like a cat on hot bricks waiting for the results of her job interview.
Have fun learning English!
Louise