Without knowing exactly what you were hit with, enabling the SecureXL penalty box is a great first step and easy to enable: sk112454 - How to configure Rate Limiting rules for DoS Mitigation (R80.20 and higher) If that doesn't do the trick you can look at setting some various connection and connection rate limits with fwaccel dos, that same SK has the info. If it was just a blunt bandwidth saturation attack you'll need help from your ISP.
Attend my 60-minute "Be your Own TAC: Part Deux" Presentation
Exclusively at CPX 2025 Las Vegas Tuesday Feb 25th @ 1:00pm