Test?

When should I test? I’ve been to the doc. Twice not the past we’ll Bc I’ve been having abdominal pain (just a severe UTI) but it was negative, could it have been to early or?