My Mac only boots to internet recovery and doesnt install MacOs
i managed to get it back up, i downloaded mac os lion 10.7.5 and i used transmac software to make a bootable USB drive with lion 10.7.5.dmg inside from my Windows 10 machine.
Steps (on windows 10):
1- get MacOS Lion (in my case) 10.7.5 (not older, because if its older you wont be abble to update it to Sierra)
2- get transmac trial software (15 day trial)
3- open transmac as administrator
4- plug in USB drive (8GB or more)
5- on transmac locate the USB drive, click right mouse button and click "format disk for mac"
6-click "yes"
7-when it finishes formatting, click right mouse button again on the USB drive and click "restore with disk image"
8- search and select the Macos Lion.dmg file
9- click "yes" and wait until it finishes (it may take a while)

when i booted from the mac with the USB drive (push the power button on the mac and righ after push "cmd") it gave me another error and refused to install... after a lot of searching i found that reseting NVRAM may help, so it did (turn on the mac holding option (alt)+cmd+P+R), and after the long install process i was on MacOS Lion, and from there i updated to Sierra, and after that High Sierra.  

Thanks to all for trying to help me and i hope my experience can help someone in the future.

Sorry for my english