Right flank pain

La

Just this morning I woke up fine.. used the restroom and I started to feel this stiff pain on my right flank. It made me feel dizzy. I went about my day and I got home around 4pm, laid down and I started to feel that pain again. It feels very stiff and it’s a constant pain. What could it be?