How to fix lcd display

Hi I forgot to buy a potentiometer so I connected the contrast pin to no 10 And it's always blinking like this how to fix this is this a software or hardware issue?