Hello,
Welcome to ehealthforum
If you have a history of unprotected intercourse then possibility of pregnancy is there.If you had urine tests previously then they might have given inaccurate results.Other than pregnancy it can be due to Endometritis,polyps etc.
Consider visiting a Gynaecologist for thorough evaluation.
Take Care!