How to put accents on Spanish letters with Mac keyboard

Basically the title explains it all. Searched google and didn’t find anything that helped, anyone have any ideas?