To fix a curry that tastes too sour you can add some sweetness such as honey, caramelized onions, or even sugar. You could also dilute the dish, add some cream, or as a last option, add a pinch of baking soda.