Connection Timeout In MySQL DB.. please help

I am getting too many time connection timeout. I am in cloud VPS and i contact the support and they told me “[font=arial, sans-serif][size=3]Your application is not closing the connection probably you need to fix that i increased the connection to 300 now however you need to find a way to solve the connection close issue”[/size][/font]

[font=arial, sans-serif][size=3]Please help…[/size][/font]