部 is read bù and means “section”; 陪 is read péi and means “to accompany.” They look almost the same, but they sound different and mean different things. In the HSK they first show up as 部 in 部分 (HSK 2) and 陪 as a word on its own (HSK 5).
部bùsection
陪péito accompany
An HSK 5 group: Both characters already appear in that level’s vocabulary.
Practice them in Wanyu: the “Look-alike characters” game alternates seeing them and telling them apart. Free.
Where will you see 部 and 陪? The HSK words that use them
In Wanyu, the “Look-alike characters” game quizzes you on these groups both ways: you see the character and say which one it is, or you see the meaning and pick the character. Free, like the whole HSK library with audio.