How can I stop a connection time out with my wifi on my Macbook?

I am constantly getting a wifi connection time out on my Macbook. How can I stop this?
You need to check out the Apple Customer support and ask them regarding this.
I am constantly getting a wifi connection time out on my Macbook. How can I stop this?

Welcome to iMore! Try rebooting your modem/router. A reset sometimes works.

Original thread: https://forums.imore.com/threads/how-can-i-stop-a-connection-time-out-with-my-wifi-on-my-macbook.353013/