Typing accents in foreign languages

any body know any app or software i can download to type foreign accents on letters on my computer when i am writing ,i have a english keyboard and i had to disable the digital one that came with the computer that allows you to switch accents of diferent languages because it was not working properly

You can use US international layout. That’s what I do. You can’t type diacritics over consonants using that one though as in š, ž, etc, but you can type over vowels as in á à ä, etc. ñ can be produced. So can ß and ç and æ, ø, å. If you’re using the UK layout then I don’t know.