They need a group
Neon tetras are schooling fish and should not be kept as one or two fish in a small betta tank.
Use a larger tank
A larger planted aquarium gives more swimming room and visual breaks.
Watch both species
The betta may chase tetras, or tetras may nip fins. Either problem means the setup is not working.