First, I Google the error. Then I read a few SO threads. Then I ask ChatGPT. If that doesn't work, I open an issue on GitHub. Finally, I read the error, see that it's telling me exactly what's wrong and fix it.