How to prepare for a pentest

You've decided to conduct a penetration test (pentest) on your system to evaluate its security, identify potential gaps, and improve your overall security posture. But what should you know before...