keep losing internet connection

Can you help me please? Everytime I log into PSN and start playing Bad Company, I get half way through a game and I get kicked off. I get a message telling me the network connection had been lost. My internet has been ok all day but PS3 has been like this for last few days