If sin theta is equal to cos theta then find theta

if sin theta is equal to cos theta then find theta