For short: If you are only having blood when the stool is hard, you may be tearing your anus just a little when you go to the bathroom (called an anal fissure). Try a stool softener (not a laxative) and drink plenty of liquids. Moisturizing the lower rectum or using lubricant suppositories can also be helpful.
If it doesn't get better, you should go see your doctor.
For Italian: if you were pregnant frequent urination doesn't usually come until later in pregnancy when the fetus pushes on the bladder. It sounds more likely that you have a urinary tract infection. Go see your doctor very soon.