What are the factors that make it more likely to get overactive bladder?

Several. Overactive bladder is a symptom of voiding too much. It is usually benign. Contributing factors that worsen the symptoms include diet, smoking, sexual intercourse, coffe and tea consumption, and alcohol. Avoidance of these will usually decrease the symptoms but may not resolve them altogether.
Over active bladder. This terms describes the symptoms of frequency and urgency....I don't think risk factors apply here....