Frequent urination

Did anyone find out that they were pregnant by using the bathroom a lot ?