A muscle can both pull and push.
Push only
Muscles can only pull and cannot push. This would be a problem if a joint was controlled by just one muscle. As soon as the muscle has contracted and pulled on a bone, that would be it, with no way to move the bone back again. The problem is solved by having muscles in pairs, called antagonistic muscles in opposite directions.