You should have received an email invitation from your friend via Dropbox.
Click the link shown above in the email you received. You will be directed to the Dropbox website to accept the folder invitation.