hard starting


i've had my b16 for about 6monthes now and for about the past 1 month its been giving me a hard time when i try to start it..it starts but it takes a few more seconds with the starter

what could the problem be?

it only happends when the engine is cold..when its warm or i've been using it within 6 hours it starts fine

...also revcently when its been very hot it doesn't start if i shut it off for a min then try to start it again..but this isn't too consistant

it hasn't given me these probelems before

its a b16a1(jdm) in a 1990 integra