Not much information provided to be able to resolve the problem. To start, please refer to the LO documentation found here -> LibreOffice Base Handbook. See Chapter 3 - Tables. There is a section in there titled Importing data from other sources.