How to change edit material assignments after joining meshes
When you are in edit mode, select the faces you want with the red material, then in the material tab select the red material and click the assign button, the faces which you had selected should have the material assigned now.