Default My HTC Desire HD connected with Wifi properly But I Cant Access Internet!!!

Hello Friends I am new in xda my desire hd connect with wifi but i cant access internet I tried almost everything like flash new rom,reset factory,reset wifi router, But Not succeed yet plz help me