Text to encode
You can only encode whatever text you want.
Software which decodes these QR codes could suggest to open them with dedicated software, depending on their URI scheme.
For instance, to open a webpage:
https://www.example/
To send an email:
mailto:contact@email.example
To share geographic coordinates:
geo:48.867564,2.364057