In the upper right corner, select the Wi-Fi icon.
Select Network Preferences... > Advanced...
Select the network you want to forget.
Select the minus button - to forget the network.
Apple iOS & iPadOS (iPhone, iPad, iPod touch).
Select the Settings app > Wi-Fi.
Select the information icon ⓘ to the right of the network you want to forget.
Select Forget This Network.