Can I wear hard contacts after having cornea surgery?

Depends. Depends on the type of corneal surgery, the post-operative shape of the cornea, the surface stability, etc. In many cases of corneal transplantation, contacts can be used but must be fitted very well by an experienced contact lens fitting doctor.