1) Go to the settings page
2) Click on Networks > Add Network
3) Key in the relevant details:
For more information on how to use MetaMask with Polygon (Matic Network), check out here.
In times of congested networks, sometimes changing the RPC url helps out:
Read here on HOW-TO switch your RPC url: