IPhone connection with wifi problem.

Greetings,
Am having iPhone connection problems especially when I connect to WIFI, I have iPhone 4s.
Am not sure what the problem is, I called customer service twice, also I called Apple but the problem still unsolved.
Anyone else having this? Or have any idea what can I do to fix it? Also I lost wifi often when iPhone 4s are on free wifi.
