I am getting loose motions if I had red chilli?

Possible . This is likely a result of capsaicin in the peppers or something else in the meal you are not accounting for. Not an uncommon complaint among patient with Ibs-c or chronic diarrhea to be a precipitant. .