Hi @Marmijam. Which Android version are you currently running please? You can find this in Settings > About Phone > Software Information.
Does the same happen if you use the stock internet browser too? Please try your phone in Safe Mode too. If it's fine during this, it indicates a third party app may be causing the issue. To do this, restart your phone but whilst it's powering up, keep the 'Volume Down' button held until you reach the home screen. If done correctly, Safe Mode will be displayed in the bottom left corner.