The desi mechanics replace sensors with kabli (aka scrapyard) sensors which got into the scrapyards cause they were not working properly in the first place. A kabli sensor pretty much never works in my experience and you will keep on getting a check light. The mechanics do the hack of resetting the computer when they replace the sensor so that it seems to a layman that the issue has been fixed but later the check light pops up again. The funny thing is that your old replaced sensor then gets used as a kabli part for another car if you don't take it back with you. Get your issue checked properly and change sensor with a brand new original one only, IA the issue would be fixed.
In my old car, a corolla 2010, I had issues at separate occasions with 3 sensors, oxygen, cam and crank ones. I replaced the oxygen one with a brand new one which alhamdulillah never gave an issue again, but I got kabli for crank and cam which kept on giving issues despite multiple replacements. So yeah definitely don't cheap out on the sensors.