Locking down your phone, being mindful of what you're wearing, and coming up with plans to communicate with others are all key steps to take before attending a protest. https://ssd.eff.org/module/attending-protest
Don't bring any device that has connected to a cell site from your home and the protest location (s). If a so-called burner phone is used, turn it on at the site and destroy it after, hence “burner.”