Electrical/accessory problem

99 volvo S70. When I start my car (either turn it to start or physically start it, the sun roof opens until i return the key to the off position.

It might be the switch that you normally use to open and close the sunroof. I might be stuck internally in the open position.