Getting a B isn’t even bad, there are other people out there wanting to get a B. I understand you may be sad but you have time to make your grades better. It’s not the end of the world, it may feel like it rn but I guarantee in a few months you’ll think why did I even cry about it. Anyways good luck.