Nostrgram.co has that function
Go to profile settings, press on green icon. There you'll see the your follow history. One press and you can refollow them all.
It had happened to me too.
You guys are ok pasting the private key? 😱
Please Login to reply.
Use getalby for this
Use the web client version & download the getAlby browser extension to manage your nostr private key.
It allows you to login & sign events without providing each web client your private key.