My car won't start,all the lights came on,the battery was recently charged. on 1997 Nissan Maxima

The 1st time it happened,my brother switched the keys(ignition & trunk) one wouldn't lock /unlock the door.Then he tried it and it worked. We I arrived home,it happened again.I tried several times,to start luck

Asked by for the 1997 Nissan Maxima
1 answer
poss bad starter but test 1st.