Mac computer WiFi connection reset

Mac computer WiFi connection reset: Remove then add printer: System Settings/System Preferences ❯ Printers and scanners then click the ‘-‘ to remove the printer then ‘+’ to scan for connected printers, select then re-add