@HarryKamboj
Hi,
You can refer to the instructions below to troubleshoot if the camera keeps going offline.
What if Tapo smart devices keep losing connection or going offline?
If the same phenomenon persists, please confirm the following information.
1. What's the model number of your router? Please ensure your router is working properly at all times.
2. When the camera is working, please go to its Device Settings > Device Info page, tap the Wi-Fi icon, and check the RSSI value.
3. Please list the troubleshooting you did.
On the camera's Device Settings > Reboot Camera page, please enable the Auto Reboot option, set a Reboot Time, and then check if it helps.
Best Regards