Here are some adjectives and the prepositions we use with them. There is no real system and so the only way to learn them is to treat them as a 'fixed combination' and record them as you meet them when you read or listen. There are many adjective preposition combinations which are not show here.
I'm good at learning languages but bad at maths.
He's terrible at expressing his ideas.