Welcome to the forums.

Could you provide a little more information on where you wish to do this?

If this is using the notation editor, then you need to be in edit mode which is shown below. Then you can mouse click on the stave at the appropriate point and enter the note. To shorten it, insert a rest after that point at the correct position.

Attached Files (Click to download or enlarge) (Only available when you are logged in)
2021-02-26_9-19-45.jpg (52.86 KB, 52 downloads)
2021-02-26_9-22-22.jpg (49.72 KB, 52 downloads)

BIAB & RB2024 Win.(Audiophile), Sonar Platinum, Cakewalk by Bandlab, Izotope Prod.Bundle, Roland RD-1000, Synthogy Ivory, Kontakt, Focusrite 18i20, KetronSD2, NS40M Monitors, Pioneer Active Monitors, AKG K271 Studio H'phones