Call a good lawyer quick. Immediately. Don’t say anything to anybody. Don’t make any statements to anybody. Don’t have any contact with the police. Call a lawyer and let the lawyer do the talking.
The lawyer’s going to make arrangements for you to turn yourself in, in a safe way. In a way that’s convenient to you and in a way that bail is already pre-determined and set so that you can just turn yourself in and go home.