How to I update the address and password for my new modem

I

iMore Question

We had to replace our modem and now want to use our Apple TV. How do we input our new wifi address and password?