Is my period on?

So, this app says my period isn’t due for a week but last night at about 1am, I discharged this clear liquid along with some blood, and I’ve been having cramps all night; so i immediately put a pad on. I woke up and there was literally nothing on the pad. Am I on my period, or is this just something else I should worry about?