Sharp pain

This past weekend I've been having a really bad sharp pain that comes and goes on my right side, and really bad headaches. What could it be?