If I am typing in Spanish, I want to print accents for the vowels. But I don’t know how.
Your question has nothing to do with LibreOffice. Refer to your operating system documentation.
Read these guidelines and ask a good question if you have any about LibreOffice.