How to Take Omeprazole

For how long should you take omeprazole?