Attending a wedding- what to wear?

A
Hello ladies!
I am attending a wedding in August and was wondering what to wear. I haven't been to a wedding since elementary school and I'm 24 lol!!! So obviously I have no idea what to wear. I'm on a budget and will need something matching for my bf. Have you attended any weddings this year? What did you wear?