A bit more information might help people help you.
e.g. What car is this for?
Some cars have bus control .e. BMW with their iBus and you can control, on some models, the windows and sunroof by using an interface to it
Others ways is to use relay boards, like the velleman R8055 or the Fusion Brain (something developed by members on the forum)