I woke up from a nap and there was some wetness on my underwear? Has anyone had this happen before?

It smelt like pee.. could it of been discharge too or should I be worried ??