This study is testing a new medicine, NNC6989-0001, to test it is safe and tolerable for healthy people living with overweight or obesity. NNC6989-0001 is still being tested in studies and is not yet available for prescription by doctors. In this study, participants will receive either NNC6989-0001 or a placebo; which treatment each participant receives will be decided by chance.