1998 Sentra Car Alarm Problem

My son has had a 1998 Nissan Sentra for a year, and suddenly yesterday his car alarm automatically began turning on every time he closes the door, even if it is not locked. If he opens the door without hitting the electronic key first,the very obnoxious alarm begins to sound. Any thoughts on how this can be fixed?