its best if you wait for your next check up and check with your gynae or if not u can go to nearby clinic doctor, if its unbearable. nowadays, doctor have all the access to your diagnosis and medications, even when you are at hospital but this is my experience with govt hospital though. they will know best what kind of medication to take during pregnancy.
not associated with large risk tho best to err on side of caution