Regular inspections are an excellent idea, and are often free of charge. Most roofing companies are happy to give you a roof inspection for free because they are proably first in line to fix anything they find. They are also highly motivated to find problems if there are any.
The second thing to do is, if you do spot a leak, take action immediately. Most leaks need time ot do real damage, so acting promptly is a good idea.
More thoughts on the subject: