Greetings zerefsrevenge,
We see that you're having an issue with links opening in Safari instead of the app. If these links are from a specific app, follow the steps in order that are found below, to help with isolating this issue:
1. Close and reopen the app
2. Restart your device
3. Check for updates ( See if updates are available for the app, open the App Store, tap your profile icon, then scroll down to see if updates are available. If updates aren't available for the app, update the software on your iPhone or iPad.)
4. Delete the app, then redownload it
If an app on your iPhone or iPad stops responding, closes unexpectedly, or won’t open - Apple Support
Take care.