If you only have it at night then it could be a trapped nerve.

What happens in the day?

Have you consulted a doctor?