Use both. Use whatever is fun right now.
Depending on the situation, one or the other will be better.
A DSLR tends to give results that are only photographic postprocessing + very basic and deterministic (you can process it later on a computer), while smart phone cameras try to be smart and sometimes false with postprocessing.
A DSLR is heavier to transport but, with practice, it can be much faster in handling, especially when you want to work in semi-automatic and manual modes.
Subjective, the image quality outside the camera will probably be better with the phone, at least according to contemporary "beauty standards" for a photograph; however, both options will produce more than enough image quality for most users.
Theoretically, the much larger sensor will have an advantage in image quality and low light capacity; however, the ages of the device will level the playing field here.
DSLR / mirrorless photos tend to look good when viewed at full size on an HD monitor or better, or printed … smartphones tend to optimize their output to have a great impact on smaller formats (web images, among others on a web page, screens of other smartphones). This becomes even more evident when looking at enlarged portions (or a part of the image is cropped!).
What will cause a digital SLR to lose in front of a smartphone is a mediocre zoom lens: get something like a f2.8 zoom lens (used) and / or a reasonably modern primer (old cousins have their merit but tend to have a strong "character" that will sometimes do, sometimes break your image) If you have the 18-55 DA WR (just an assumption with that camera …) … it's not horrible, but it's not the best that the camera can have mounted on it;)
Usually, a weakness of smartphones is telephoto operation (less with a phone with multiple cameras like the one you have); however, you can place a 400mm or 600mm lens on the Pentax, not so much on the phone.
One or another option can be better accepted for use in social situations: sometimes, the smartphone user will be more accepted, in other cases it is better to be confused with a serious photographer or a type of press.
A disadvantage of consumer DSLRs such as Kr is that they have two precision problems, compared to mirrorless cameras and smartphones: the viewfinder is framed inaccurately (specifications say it is a 96% viewfinder), and can There are problems with autofocus precision (mirrorless cameras and autofocus of quality smartphones using the image sensor as a reference. Digital SLRs use a separate sensor for that, and these two sensors can lose each other).
The Pentax has two advantages for many other DSLRs (even current ones), which it has in common with smartphones: it is designed in a somewhat weatherproof way (Pentax is reputed for that, although the Kr is not sold as a rugged camera outdoors), and has an image stabilizer.