Hello,
I wonder if when my mac is go to sleep or the screen is off so the wireless internet connection is off too?
If yes how i fix it to not turn off?
Have you got the "Wake on Demand" checkbox in the "Energy Saver" prefs pane ticked?
See About Wake on Demand
Macs older than some year, 2008???, don't support the feature.