2015 Toyota Highlander - Won't start

If I let my 2015 toyota highlander sit for 2 days it will not start. It makes a tapping noise and does turn over only once and the all the lights flash. This started on evening when I was going to a class, I was sitting in my car with the doors lock. I opened the door to get out and the alarm when off. I tried to start the car and it made the tapping noise and dash started flashing