First make sure you have sufficient recharged modem for access internet,
Now if wifi sign in pop up click to go for it and read all schemes carefully ,if nothing works try to access google app i.e. play store if internet work here it is definitely your modem problem or your phone wifi...