if you think your phone was hacked change all your account passwords form a secure computer. If you try using your phone they may get the new ones. I see a lot of issues with unsecured apps people install on their phones asking for all kinds of permissions. Not wise to use those. As for finding out , it’s near impossible unfortunately.