Here's how to properly do it. Tilting your forearms to the side when you do a pushup would indeed injure your elbow and shoulder over time if you keep doing the same mistake. If you need something to assist you to keep it straight, find a door frame and do it there. That'll keep your forearms from tilting.