I have the worst headaches

Jasmine
Behind my left eye hurts so bad I haven't left my bed since I showered. Is it ok to take an Advil ?