Question [Q] Wi-Fi and 3g connection problems

Hi there!
I've some problems with my G-Nexus 5, as wroten in title,
the Wi-Fi and the 3g connection disconnects me during utilizing it,
if i look on the icons of wi-fi or 3g i can see that i'm not receiving any data and i cant continue to surf in web or by enjoying a game online.
So the question is its a hardware or a software problem, and if another one had the same problem.