He messed up, so he'll definitely get scolded when he gets home.
Tips
memory
挨 (āi) means 'to suffer / be subjected to' when paired with bad things: 挨打 (áidǎ, get hit), 挨饿 (ái'è, go hungry), 挨骂 (áimà, get scolded). Note the tone shifts to second tone (ái) for this 'suffer' meaning, vs. first tone (āi, 'next to').
mistakes
Don't say 被骂 (bèimà) for routine scoldings — 挨骂 sounds more natural and colloquial. 被骂 is fine but more passive/formal in feel.