Intermittent starting problems

I've suddenly developed some issues starting my boat. Sometimes I turn the key and nothing happens. I have to try several times, and suddenly the motor will turn over and run. Sometimes it will never even try to turn over. I have to open the doghouse and press the red reset button on the back of the motor. So what might be the issue here? Where should I start? Thanks.