Foremilk/hindmilk imbalance

Hi all! I’m worried I’m having an imbalance of my milk. My son is having gas pains, sometimes green poos and colic like behavior. He often cries for no reason as if he’s in pain. Does anyone know how to correct this or have any tips?