Help me!!

My period only lasted four days when it usually lasts 7-8, my ribs hurt, I've gained weight and I'm bloated a lot! I drink lots of water and workout. Idk what's wrong with me.. Help!