There are now some dozen ways to DDOS a WiFi system. As all that is on the web I'll not dive into that.

If your router is crashing rather than recovering, see if it's firmware is current.