UTI medication

Can anyone recall the meds they were prescribed for a UTI? And any effects?