I have a bathroom light fixture that when is is on too long it will go out. About 15 minutes later it comes back on. Any ideas why?

Thanks