Be alert. Before someone obtains the access, there comes a pop up on screen which is hard to close, under such circumstance we should never panic however try to press alt+delete rather than clicking somewhere in panic to close such pop up.
If it’s on your mobile phone, go to settings, open apps, open chrome clear all data.
This will prevent and protect your device from getting accessed by someone who are remotely trying to commit any fraud. However, if the fraud is being committed you can file an official compliant and make the financial institution and service providers involved to block further transactions made from your account.
Also you can seek remedy under IT act and Indian Penal Code.