The urge could be because of the change of your diet ( spicy food) , or possibly some Infection,
If semi liquid ( loose stools) it could again be an infection.
Also the duration of symptoms is important to know more about the condition.
Next Steps
Meet a doctor, for detailed evaluation with history & some tests.