If your baby drinks breast milk that has gone bad, they will most likely vomit it back up. They may cry and have an upset stomach for a few hours. Generally, your baby will be uncomfortable but fine.
On rare occasions, spoiled milk can give your baby diarrhea or a fever. If this happens, you should immediately take your doctor to see a medical professional.