How to keep sqlite db size low?

so… I’m working on a project with python that uses sqlite3. Is there any way I can try to keep the file size of the DB low so it doesn’t exceed the project limits i.e: compression?