MBP Crash and restart

First time to encounter a crash on my MacBook Pro. I’m on Mojave 10.14.6. The only thing different that I was doing was re-partitioning an external hard drive.

What information do you need?
What steps to diagnose the problem?
What logs can I look at?
What diagnostic tools to run?

Thanks.