Can be used literally or figuratively to describe something undesirable.
El perro del vecino es tan piojoso que no puedo jugar cerca de él.
The neighbor's dog is so lousy that I can't play near him.
El niño tenía el cabello piojoso, así que su madre decidió llevarlo al peluquero.
The boy had lousy hair, so his mother decided to take him to the barber.