Omeprazole is effective for 24hours. Best given as 1 dose .