Are cranberry pills safe

Are cranberry pills safe to take while pregnant? I'm 10w5d an feel like I have an uti coming on. I'm feeling uncomfortable down there at later using the restroom