Both SDSU and CSULB are very competitive for transfer students, especially if you are not in the local service area so it will definitely impact your chances.
Is this Communication class part of the Golden 4 needed for transfer? If so, you definitely need to retake but if not, I would still retake since the F vs a retake grade of B or higher will make a huge difference on your chances of getting an acceptance.