Weight loss helpp

Currently 4 months pp and really struggling to lose weight. I’m breastfeeding and worry that whatever I do will affect my supply. Does anyone know if taking protein shakes is ok while breastfeeding? Like mentioned before I don’t want anything affecting supply or harming my baby.