Do I have to avoid any sexual positions while pregnant?

No. Except what may be uncomfortable for you. Also recommend abstainence if bleeding, at risk preterm labor or think water broken.
Painful ones. You can continue to have sex while pregnant. Any position that is not uncomfortable or painful is likely to be safe.