Deleted a site without stopping it and now I can't stop the redirect

I’m still learning how to work this and I made a local site on my mac. I deleted it without stopping the website on local and now I can’t get rid of the redirect and I cannot log in to my wp-admin on my live website as it keeps redirecting me to the .local instance.
How do I fix this? please help :frowning: