Exactly as what karl said the light will go out when you first start it up because oil is thick because cold, with you saying it did it before when was warm sounds like an issue there to be assessed. When you rev it it could go out because pump is spinning faster. I would chack you have oil pressure first with a gauge. Then check top end cam ect.