Printer features such as a heated bed and and an enclosed print chamber (or even better, a heated print chamber) can be very helpful when printing a type of filament (e.g., ABS) especially prone to shrinking as it cools; you may also wish to disable any printer “Cooling Fan”.
Printing with a brim or raft may also help keep the object adhering to the build plate; under “PRINT SETTINGS”, “BASIC”, see “Platform Adhesion Type”.