Have your battery tested is first thing to do. Weird things happen when battery is weak.
These cars drain the battery sitting still. You need to go for a good long drive on a regular basis or hook the car to a battery tender.
If you replace the battery, it has to be "registered" to the car. If not the car will not know a new battery is in and it will overcharge the new battery resulting in potential damage and early replacement.