Simulation-Based Inference: A Practical Guide