Just started playing today and I’m not sure how the attachments work. There’s loads around but it’s not clear how to get these added the actual weapon itself.

Answered question