Yes you need to. The doctor will try ask your symptoms and usually they will conduct stool examination to see if your gastroenteritis are caused by a bacteria like Vibrio species or parasite like amoeba. Then the doctor will provide the right antibiotic.