how to attach document to gmail

i can not transfer from ‘‘PAGE libreoffice’’ document from IMAC documents file to gmail like i could do with words

It would be helpful if you explain in details what you do when you try to attach a file to gmail.